Skip to content
This repository has been archived by the owner on May 23, 2022. It is now read-only.

Commit

Permalink
Add Warning for Service Desk Projects if Share with customer not poss…
Browse files Browse the repository at this point in the history
…ible
  • Loading branch information
DarkLegend committed Aug 30, 2016
1 parent 16653ad commit 9b832ae
Show file tree
Hide file tree
Showing 8 changed files with 56 additions and 26 deletions.
1 change: 1 addition & 0 deletions com.yasoon.jira/Dialogs/AddCommentDialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ <h2 class="jira-title" data-bind="localizedText: 'dialog.titleAddToIssue'"></h2>
<div class="buttons-container form-footer">
<div class="buttons">
<img src="Dialogs/ajax-loader.gif" style="display:none; margin-right: 20px; margin-top: -12px;" id="JiraSpinner">
<span class="servicedesk-warning"><i class="fa fa-exclamation-circle servicedesk-popover" style="color:#ffd800; font-size: 20px; cursor:pointer; margin-right: 10px;" aria-hidden="true"></i></span>
<button type="button" accesskey="s" title="" class="button jira submit-button" id="add-issue-submit" data-type="submit" data-bind="localizedText: 'dialog.add'"></button>
<button type="button" accesskey="s" title="" class="aui-button aui-button-primary servicedesk submit-button" data-type="submitCustomer" data-bind="localizedText: 'dialog.addCustomer'"> Share with customer</button>
<button type="button" accesskey="s" title="" class="button servicedesk submit-button" data-type="submitInternal" data-bind="localizedText: 'dialog.addInternal'"> Share internally</button>
Expand Down
46 changes: 28 additions & 18 deletions com.yasoon.jira/Dialogs/jiraAddCommentDialog.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions com.yasoon.jira/Dialogs/jiraFieldRenderer.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions com.yasoon.jira/Dialogs/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion com.yasoon.jira/functions.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions com.yasoon.jira/locale/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,10 @@
"sprintAll": "Alle",
"unassigned": "Nicht zugewiesen",
"automatic": "Automatisch",
"addCustomer": "Share with Customer",
"addInternal": "Share internally"
"addCustomer": "Mit Kunden teilen",
"addInternal": "Interner Kommentar",
"serviceDeskWarningBody": "Der Vorgang hat keinen Anfragetyp.</br >Obwohl es sich um einen Service Desk Vorgang handelt, ist ein Kommentar an den Kunden nicht möglich.",
"serviceDeskWarning": "Kein Anfragetyp"
},
"filter": {
"projectFilter": "Projekt",
Expand Down
4 changes: 3 additions & 1 deletion com.yasoon.jira/locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@
"unassigned": "Unassigned",
"automatic": "Automatic",
"addCustomer": "Share with Customer",
"addInternal": "Share internally"
"addInternal": "Share internally",
"serviceDeskWarningBody": "The issue does not have a request type. </br> Even it is a Service Desk issue, you cannot share comments with the customer.",
"serviceDeskWarning": "No Request Type"
},
"filter": {
"projectFilter": "Project",
Expand Down
2 changes: 1 addition & 1 deletion com.yasoon.jira/settings.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9b832ae

Please sign in to comment.