Revision 6b7d024f src/gr/grnet/pithos/web/client/ToolsMenu.java
b/src/gr/grnet/pithos/web/client/ToolsMenu.java | ||
---|---|---|
173 | 173 |
contextMenu.addItem(new MenuItem("<span>" + AbstractImagePrototype.create(newImages.group()).getHTML() + " Sharing</span>", true, new PropertiesCommand(app, this, files, PropertiesCommand.PERMISSIONS))); |
174 | 174 |
contextMenu.addItem(new MenuItem("<span>" + AbstractImagePrototype.create(newImages.versions()).getHTML() + " Versions</span>", true, new PropertiesCommand(app, this, files, PropertiesCommand.VERSIONS))); |
175 | 175 |
} |
176 |
else if (!folder.isContainer()) |
|
177 |
contextMenu.addItem(new MenuItem("<span id = 'folderContextMenu.properties'>" + AbstractImagePrototype.create(newImages.viewText()).getHTML() + " Folder properties</span>", true, new PropertiesCommand(app, this, folder, 0))); |
|
176 |
else if (!folder.isContainer()) { |
|
177 |
contextMenu.addItem(new MenuItem("<span>" + AbstractImagePrototype.create(newImages.viewText()).getHTML() + " Folder properties</span>", true, new PropertiesCommand(app, this, folder, PropertiesCommand.PROPERTIES))); |
|
178 |
contextMenu.addItem(new MenuItem("<span>" + AbstractImagePrototype.create(newImages.sharing()).getHTML() + " Folder sharing</span>", true, new PropertiesCommand(app, this, folder, PropertiesCommand.PERMISSIONS))); |
|
179 |
} |
|
178 | 180 |
} |
179 | 181 |
if (files != null && !files.isEmpty()) { |
180 | 182 |
contextMenu.addItem(new MenuItem("<span>" + AbstractImagePrototype.create(newImages.download()).getHTML() + " Download</span>", true, new Command() { |
Also available in: Unified diff