From 8584ff531271e73f4cbe9e9aea0e74791bb3e02b Mon Sep 17 00:00:00 2001 From: anhefti Date: Thu, 14 Dec 2023 08:09:44 +0100 Subject: [PATCH] SEBSERV-486 streamline reset icons --- .../sebserver/gui/content/action/ActionDefinition.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/content/action/ActionDefinition.java b/src/main/java/ch/ethz/seb/sebserver/gui/content/action/ActionDefinition.java index 8400c59d..84ba0451 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/content/action/ActionDefinition.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/content/action/ActionDefinition.java @@ -242,6 +242,12 @@ public enum ActionDefinition { EXAM_VIEW_LIST( new LocTextKey("sebserver.exam.action.list"), PageStateDefinitionImpl.EXAM_LIST), + + EXAM_NEW( + new LocTextKey("sebserver.exam.action.new"), + ImageIcon.ADD_EXAM, + PageStateDefinitionImpl.EXAM_EDIT, + ActionCategory.EXAM_LIST), EXAM_IMPORT( new LocTextKey("sebserver.exam.action.import"), ImageIcon.IMPORT, @@ -843,7 +849,7 @@ public enum ActionDefinition { ActionCategory.SEB_CONFIG_TEMPLATE_ATTRIBUTE_LIST), SEB_EXAM_CONFIG_TEMPLATE_ATTR_SET_DEFAULT( new LocTextKey("sebserver.configtemplate.attr.list.actions.setdefault"), - ImageIcon.SAVE, + ImageIcon.RESET, PageStateDefinitionImpl.SEB_EXAM_CONFIG_TEMPLATE_VIEW, ActionCategory.SEB_CONFIG_TEMPLATE_ATTRIBUTE_LIST), SEB_EXAM_CONFIG_TEMPLATE_ATTR_LIST_REMOVE_VIEW(