Bug 562052: The version number should be shown in the list view for all types of add-ons. r=Unfocused

This commit is contained in:
Dave Townsend 2010-06-28 12:43:53 -07:00
parent 96b06b0972
commit 2049f797e5
4 changed files with 12 additions and 3 deletions

View File

@ -687,6 +687,7 @@
<xul:vbox flex="1" class="fade">
<xul:hbox class="name-container">
<xul:label anonid="name" class="name" xbl:inherits="value=name"/>
<xul:label anonid="version" class="version"/>
<xul:label class="disabled-postfix" value="&addon.disabled.postfix;"/>
</xul:hbox>
<xul:label anonid="creator" class="creator"/>
@ -783,6 +784,8 @@
if (iconURL)
this._icon.src = iconURL;
this._version.value = this.mAddon.version;
var creator = this.mAddon.creator;
var creatorURL = this.mAddon.creatorURL;
// XXxunf api
@ -824,6 +827,9 @@
document.getAnonymousElementByAttribute(this, "anonid",
"homepage");
</field>
<field name="_version">
document.getAnonymousElementByAttribute(this, "anonid", "version");
</field>
<field name="_icon">
document.getAnonymousElementByAttribute(this, "anonid", "icon");
</field>

View File

@ -332,7 +332,8 @@
-moz-box-align: end;
}
.addon .name {
.addon .name,
.addon .version {
font-size: 150%;
margin-bottom: 0px;
}

View File

@ -332,7 +332,8 @@
-moz-box-align: end;
}
.addon .name {
.addon .name,
.addon .version {
font-size: 150%;
margin-bottom: 0px;
}

View File

@ -332,7 +332,8 @@
-moz-box-align: end;
}
.addon .name {
.addon .name,
.addon .version {
font-size: 150%;
margin-bottom: 0px;
}