diff --git a/views/includes/scripts/commentReplyScript.html b/views/includes/scripts/commentReplyScript.html index ac1873bda..0e07cbd5e 100644 --- a/views/includes/scripts/commentReplyScript.html +++ b/views/includes/scripts/commentReplyScript.html @@ -8,7 +8,9 @@ $('#reply-control').on('show.bs.collapse', function () { // Show spacer div $('#show-reply-form-when-visible').css({ - height: '{{#paginationRendered}}210{{/paginationRendered}}{{^paginationRendered}}268{{/paginationRendered}}px' + height: + {{#paginationRendered}}'210px'{{/paginationRendered}} + {{^paginationRendered}}'268px'{{/paginationRendered}} }); }); diff --git a/views/includes/scripts/commentReplyTooltip.html b/views/includes/scripts/commentReplyTooltip.html new file mode 100644 index 000000000..8cb235e82 --- /dev/null +++ b/views/includes/scripts/commentReplyTooltip.html @@ -0,0 +1,11 @@ + diff --git a/views/includes/scripts/groupSelector.html b/views/includes/scripts/groupSelector.html new file mode 100644 index 000000000..60788d7f9 --- /dev/null +++ b/views/includes/scripts/groupSelector.html @@ -0,0 +1,51 @@ + + diff --git a/views/includes/scripts/lazyIconScript.html b/views/includes/scripts/lazyIconScript.html index 4659ebad9..13ed1621e 100644 --- a/views/includes/scripts/lazyIconScript.html +++ b/views/includes/scripts/lazyIconScript.html @@ -1,20 +1,27 @@ diff --git a/views/includes/scripts/markdownEditor.html b/views/includes/scripts/markdownEditor.html index 9abd625c0..fdf748bac 100644 --- a/views/includes/scripts/markdownEditor.html +++ b/views/includes/scripts/markdownEditor.html @@ -1,17 +1,20 @@ - - - - + + diff --git a/views/includes/scripts/scriptEditor.html b/views/includes/scripts/scriptEditor.html new file mode 100644 index 000000000..6acaafda9 --- /dev/null +++ b/views/includes/scripts/scriptEditor.html @@ -0,0 +1,47 @@ + + diff --git a/views/includes/scripts/tableTrLinkScript.html b/views/includes/scripts/tableTrLinkScript.html index 69946a32c..7d4cf94cd 100644 --- a/views/includes/scripts/tableTrLinkScript.html +++ b/views/includes/scripts/tableTrLinkScript.html @@ -1,16 +1,31 @@ - diff --git a/views/pages/discussionPage.html b/views/pages/discussionPage.html index 2e07ba2a1..996293aa2 100644 --- a/views/pages/discussionPage.html +++ b/views/pages/discussionPage.html @@ -65,13 +65,7 @@ {{> includes/scripts/commentReplyScript.html }} {{/authedUser}} {{^authedUser}} - + {{> includes/scripts/commentReplyTooltip.html }} {{/authedUser}} diff --git a/views/pages/scriptEditMetadataPage.html b/views/pages/scriptEditMetadataPage.html index 75479c62b..663290e0a 100644 --- a/views/pages/scriptEditMetadataPage.html +++ b/views/pages/scriptEditMetadataPage.html @@ -52,50 +52,6 @@

Description

{{> includes/footer.html }} {{> includes/scripts/lazyIconScript.html }} {{> includes/scripts/markdownEditor.html }} - - - + {{> includes/scripts/groupSelector.html }} diff --git a/views/pages/scriptIssuePage.html b/views/pages/scriptIssuePage.html index 90693f258..144c00441 100644 --- a/views/pages/scriptIssuePage.html +++ b/views/pages/scriptIssuePage.html @@ -75,13 +75,7 @@ {{> includes/scripts/commentReplyScript.html }} {{/authedUser}} {{^authedUser}} - + {{> includes/scripts/commentReplyTooltip.html }} {{/authedUser}} diff --git a/views/pages/scriptViewSourcePage.html b/views/pages/scriptViewSourcePage.html index e2a4a7de6..f1d416af2 100644 --- a/views/pages/scriptViewSourcePage.html +++ b/views/pages/scriptViewSourcePage.html @@ -49,47 +49,6 @@ {{> includes/footer.html }} {{> includes/scripts/lazyIconScript.html }} - - - + {{> includes/scripts/scriptEditor.html }}