From b43f9067b0c8323265100b15f3e2779f30de81f0 Mon Sep 17 00:00:00 2001 From: Aditya Anand M C Date: Thu, 14 Nov 2019 13:52:04 -0800 Subject: [PATCH] bug: fixed wonky button --- app/assets/v2/css/bounty.css | 10 ---------- app/assets/v2/images/comment.svg | 1 - app/assets/v2/js/pages/bounty_details.js | 4 +--- app/dashboard/templates/bounty/details.html | 16 ---------------- 4 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 app/assets/v2/images/comment.svg diff --git a/app/assets/v2/css/bounty.css b/app/assets/v2/css/bounty.css index 9d5a63713e9..7fc05178d17 100644 --- a/app/assets/v2/css/bounty.css +++ b/app/assets/v2/css/bounty.css @@ -410,16 +410,6 @@ a.btn { margin-left: 5px; } -#btn-white .github-comment { - color: #FFFFFF; - position: absolute; - font-size: 0.625rem; - text-align: center; - width: 1.25rem; - top: 0.4375rem; - right: 0.5rem; -} - .activity { margin-bottom: 10px; } diff --git a/app/assets/v2/images/comment.svg b/app/assets/v2/images/comment.svg deleted file mode 100644 index 9928219e45d..00000000000 --- a/app/assets/v2/images/comment.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/app/assets/v2/js/pages/bounty_details.js b/app/assets/v2/js/pages/bounty_details.js index 8d94d3127a2..fc8d5940802 100644 --- a/app/assets/v2/js/pages/bounty_details.js +++ b/app/assets/v2/js/pages/bounty_details.js @@ -1247,9 +1247,7 @@ var do_actions = function(result) { text: (result['repo_type'] === 'private' ? ' ' + gettext('Private Repo') : '' + gettext('View On Github')), parent: 'github_actions', - title: gettext('View issue details and comments on Github'), - comments: result['github_comments'], - color: 'comments' + title: gettext('View issue details and comments on Github') }; actions.push(_entry); diff --git a/app/dashboard/templates/bounty/details.html b/app/dashboard/templates/bounty/details.html index ee772899487..6959673ab81 100644 --- a/app/dashboard/templates/bounty/details.html +++ b/app/dashboard/templates/bounty/details.html @@ -262,22 +262,6 @@
{% trans "Funder" %}
[[:text]] ( [[:pending_acceptance]] ) - [[else color == 'comments']] - - [[if comments]] - - [[:text]] - - Comment - - [[:comments]] - - - - [[else]] - [[:text]] - [[/if]] - [[else]] [[:text]]