Skip to content

Commit

Permalink
Merge pull request #2081 from pinkiebell/githubIssueState
Browse files Browse the repository at this point in the history
Add (Issue is closed) to the 'View on Github' button if is_issue_closed.
  • Loading branch information
thelostone-mc authored Aug 24, 2018
2 parents 268f40b + 3d4ee1c commit b64b504
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/assets/v2/js/pages/bounty_details.js
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,8 @@ var do_actions = function(result) {
const _entry = {
enabled: true,
href: github_url,
text: gettext('View On Github'),
text: gettext('View On Github') +
(result['is_issue_closed'] ? gettext(' (Issue is closed)') : ''),
parent: 'right_actions',
title: gettext('View issue details and comments on Github'),
comments: result['github_comments'],
Expand Down

0 comments on commit b64b504

Please sign in to comment.