From 3b17cc440d862085493c7cd226741bf70053ca0c Mon Sep 17 00:00:00 2001 From: Aditya Anand Date: Mon, 25 Jun 2018 09:18:08 -0700 Subject: [PATCH] all admin actions are in a new line Fix: https://github.com/gitcoinco/web/issues/1511 --- app/assets/v2/js/pages/bounty_details.js | 3 ++- app/dashboard/templates/bounty_details.html | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/v2/js/pages/bounty_details.js b/app/assets/v2/js/pages/bounty_details.js index d6fd42167d8..e00abce3935 100644 --- a/app/assets/v2/js/pages/bounty_details.js +++ b/app/assets/v2/js/pages/bounty_details.js @@ -689,7 +689,8 @@ var do_actions = function(result) { parent: 'right_actions', title: gettext('View issue details and comments on Github'), comments: result['github_comments'], - color: 'white' + color: 'white', + is_last_non_admin_action: true }; actions.push(_entry); diff --git a/app/dashboard/templates/bounty_details.html b/app/dashboard/templates/bounty_details.html index 332ec06608c..f44ac698ae1 100644 --- a/app/dashboard/templates/bounty_details.html +++ b/app/dashboard/templates/bounty_details.html @@ -225,6 +225,9 @@
{% trans "Funder" %}
[[/if]] + [[if is_last_non_admin_action]] +
+ [[/if]] [[/if]]