From 2c4e2c82720851be4c4eaf8ae1a46acc70b3418a Mon Sep 17 00:00:00 2001 From: Alexey Belostotskiy Date: Thu, 3 Oct 2019 17:51:08 +0300 Subject: [PATCH] #33 add tooltip with action name --- .../plugins/groovy/templates/issue-panel.vm | 44 +++++++++++++++++-- 1 file changed, 41 insertions(+), 3 deletions(-) diff --git a/src/main/resources/ru/mail/jira/plugins/groovy/templates/issue-panel.vm b/src/main/resources/ru/mail/jira/plugins/groovy/templates/issue-panel.vm index 5c1a4a9a..e8765c9a 100644 --- a/src/main/resources/ru/mail/jira/plugins/groovy/templates/issue-panel.vm +++ b/src/main/resources/ru/mail/jira/plugins/groovy/templates/issue-panel.vm @@ -13,11 +13,49 @@
#if($change.action == 'CREATED') - $change.action + + $i18n.getText($change.action.i18nName) + #elseif($change.action == 'UPDATED') - $change.action + + $i18n.getText($change.action.i18nName) + + #elseif($change.action == 'DELETED') + + $i18n.getText($change.action.i18nName) + + #elseif($change.action == 'RESTORED') + + $i18n.getText($change.action.i18nName) + + #elseif($change.action == 'ENABLED') + + $i18n.getText($change.action.i18nName) + + #elseif($change.action == 'DISABLED') + + $i18n.getText($change.action.i18nName) + #else - $change.action + $i18n.getText($change.action.i18nName) #end $i18n.getText($change.category.getI18nName()) #if ($change.scriptId)