From 574b0219406b7ef15016b1d36724e88ec9783574 Mon Sep 17 00:00:00 2001 From: Onuwa Nnachi Isaac Date: Thu, 20 Jun 2019 00:08:49 +0100 Subject: [PATCH 1/2] Fix newletter position --- .../templates/bounty_request_form.html | 82 ++++++++++--------- 1 file changed, 43 insertions(+), 39 deletions(-) diff --git a/app/bounty_requests/templates/bounty_request_form.html b/app/bounty_requests/templates/bounty_request_form.html index 037a5614421..e1fa8bc9cf6 100644 --- a/app/bounty_requests/templates/bounty_request_form.html +++ b/app/bounty_requests/templates/bounty_request_form.html @@ -29,47 +29,51 @@
-
-
-
-

{% trans "Request a Bounty" %} {% trans "Alpha" %}

-

- {% blocktrans %} - Have an open-source issue that you think would benefit the community? - Suggest it be given a bounty! - {% endblocktrans %} -

-
- - -
-
- {% for field in form %} -
- - {{ field }} +
+
+
+
+
+

{% trans "Request a Bounty" %} {% trans "Alpha" %}

+

+ {% blocktrans %} + Have an open-source issue that you think would benefit the community? + Suggest it be given a bounty! + {% endblocktrans %} +

+
+ +
- {% endfor %} - - -
-
-
From b882f1ddbfeaaf5e843b2ebd16623ec8cf5bb827 Mon Sep 17 00:00:00 2001 From: Onuwa Nnachi Isaac Date: Tue, 16 Jul 2019 00:44:08 +0100 Subject: [PATCH 2/2] Fix bounty/new pull down data from url paste --- app/assets/v2/js/pages/new_bounty.js | 2 -- app/assets/v2/js/shared.js | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/v2/js/pages/new_bounty.js b/app/assets/v2/js/pages/new_bounty.js index fdff4db4f13..4d9cb776f2c 100644 --- a/app/assets/v2/js/pages/new_bounty.js +++ b/app/assets/v2/js/pages/new_bounty.js @@ -357,9 +357,7 @@ $('#issueURL').focusout(function() { $('#last-synced').hide(); $('.js-submit').addClass('disabled'); } else { - $('#no-issue-banner').hide(); $('#edit-issue').attr('href', $('input[name=issueURL]').val()); - $('#issue-details, #issue-details-edit').show(); $('#sync-issue').removeClass('disabled'); $('.js-submit').removeClass('disabled'); diff --git a/app/assets/v2/js/shared.js b/app/assets/v2/js/shared.js index 584d226f1d5..9cbc2563857 100644 --- a/app/assets/v2/js/shared.js +++ b/app/assets/v2/js/shared.js @@ -692,8 +692,10 @@ var retrieveIssueDetails = function() { }).trigger('change'); } - target_eles['description'].val(result['description']); target_eles['title'].val(result['title']); + target_eles['description'].val(result['description']); + $('#no-issue-banner').hide(); + $('#issue-details, #issue-details-edit').show(); // $('#title--text').html(result['title']); // TODO: Refactor $.each(target_eles, function(i, ele) {