added archive icon

This commit is contained in:
Sebastian Sdorra
2012-03-30 10:37:20 +02:00
parent a5c5b4b7ff
commit d34a96259d
2 changed files with 4 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 555 B

View File

@@ -47,6 +47,8 @@ Sonia.repository.Panel = Ext.extend(Sonia.rest.Panel, {
errorTitleText: 'Error',
errorMsgText: 'Repository deletion failed',
archiveIcon: 'resources/images/archive.png',
repositoryGrid: null,
initComponent: function(){
@@ -85,9 +87,8 @@ Sonia.repository.Panel = Ext.extend(Sonia.rest.Panel, {
xtype: 'tbbutton',
id: 'repoArchiveButton',
disabled: true,
text: this.archiveText,
// TODO find icon
icon: this.removeIcon,
text: this.archiveText,
icon: this.archiveIcon,
scope: this,
handler: this.toggleArchive
});