Bug 623211 - Add-ons manager add-on author name and link should be removed from list view; r=Mossop a=blocking-final+

This commit is contained in:
Matthew Printz 2011-01-26 14:10:39 -05:00
Родитель 7bca2ba055
Коммит 443913cc80
5 изменённых файлов: 3 добавлений и 18 удалений

Просмотреть файл

@ -836,7 +836,6 @@
<xul:label class="update-postfix" value="&addon.update.postfix;"/>
<xul:spacer flex="5000"/> <!-- Necessary to make the name crop -->
</xul:hbox>
<xul:label anonid="creator" class="creator"/>
</xul:vbox>
<xul:label anonid="date-updated" class="date-updated"
unknown="&addon.unknownDate;"/>
@ -982,10 +981,6 @@
document.getAnonymousElementByAttribute(this, "anonid",
"info");
</field>
<field name="_creator">
document.getAnonymousElementByAttribute(this, "anonid",
"creator");
</field>
<field name="_version">
document.getAnonymousElementByAttribute(this, "anonid", "version");
</field>
@ -1104,8 +1099,6 @@
else
this._version.hidden = true;
this._creator.setCreator(this.mAddon.creator);
if (this.mAddon.description)
this._description.value = this.mAddon.description;
else

Просмотреть файл

@ -116,7 +116,6 @@ add_test(function() {
is(get_node(addon, "version").value, "1.0", "Version should be correct");
is_element_visible(get_node(addon, "description"), "Description should be visible");
is(get_node(addon, "description").value, "A test add-on", "Description should be correct");
is_element_hidden(get_node(addon, "creator"), "Creator should be hidden");
is_element_hidden(get_class_node(addon, "disabled-postfix"), "Disabled postfix should be hidden");
is_element_hidden(get_class_node(addon, "update-postfix"), "Update postfix should be hidden");
is(Date.parse(get_node(addon, "date-updated").value), gDate.getTime(), "Update date should be correct");
@ -153,7 +152,6 @@ add_test(function() {
is_element_visible(get_node(addon, "version"), "Version should be visible");
is(get_node(addon, "version").value, "2.0", "Version should be correct");
is_element_hidden(get_node(addon, "description"), "Description should be hidden");
is_element_hidden(get_node(addon, "creator"), "Creator should be hidden");
is_element_visible(get_class_node(addon, "disabled-postfix"), "Disabled postfix should be visible");
is_element_hidden(get_class_node(addon, "update-postfix"), "Update postfix should be hidden");
is(get_node(addon, "date-updated").value, "Unknown", "Date should be correct");
@ -353,7 +351,6 @@ add_test(function() {
is(get_node(addon, "version").value, "1.0", "Version should be correct");
is_element_visible(get_node(addon, "description"), "Description should be visible");
is(get_node(addon, "description").value, "A test add-on", "Description should be correct");
is_element_hidden(get_node(addon, "creator"), "Creator should be hidden");
is_element_hidden(get_class_node(addon, "disabled-postfix"), "Disabled postfix should be hidden");
is_element_hidden(get_class_node(addon, "update-postfix"), "Update postfix should be hidden");
is(Date.parse(get_node(addon, "date-updated").value), gDate.getTime(), "Update date should be correct");
@ -390,7 +387,6 @@ add_test(function() {
is_element_visible(get_node(addon, "version"), "Version should be visible");
is(get_node(addon, "version").value, "2.0", "Version should be correct");
is_element_hidden(get_node(addon, "description"), "Description should be hidden");
is_element_hidden(get_node(addon, "creator"), "Creator should be hidden");
is_element_visible(get_class_node(addon, "disabled-postfix"), "Disabled postfix should be visible");
is_element_hidden(get_class_node(addon, "update-postfix"), "Update postfix should be hidden");
is(get_node(addon, "date-updated").value, "Unknown", "Date should be correct");
@ -558,7 +554,6 @@ add_test(function() {
is(get_node(addon, "version").value, "2.0", "Version should be correct");
is_element_visible(get_node(addon, "description"), "Description should be visible");
is(get_node(addon, "description").value, "A test add-on with a new description", "Description should be correct");
is_element_hidden(get_node(addon, "creator"), "Creator should be hidden");
is_element_hidden(get_class_node(addon, "disabled-postfix"), "Disabled postfix should be hidden");
is_element_hidden(get_class_node(addon, "update-postfix"), "Update postfix should be hidden");
is(Date.parse(get_node(addon, "date-updated").value), gDate.getTime(), "Update date should be correct");

Просмотреть файл

@ -420,8 +420,7 @@
.icon-container {
width: 48px;
height: 48px;
margin: 22px 7px 7px 7px;
margin: 15px 7px 7px 7px;
}
.icon {

Просмотреть файл

@ -446,8 +446,7 @@
.icon-container {
width: 48px;
height: 48px;
margin: 22px 7px 7px 7px;
margin: 15px 7px 7px 7px;
}
.icon {

Просмотреть файл

@ -519,8 +519,7 @@
.icon-container {
width: 48px;
height: 48px;
margin: 22px 7px 7px 7px;
margin: 15px 7px 7px 7px;
}
.icon {