summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2017-02-24 11:31:11 -0600
committerJose Ivan Vargas <jvargas@gitlab.com>2017-02-24 11:31:11 -0600
commitbe18e70cd13eed870add512846534852da375814 (patch)
treeee6ffed01e96bd0e582c01af0461003e3014294c
parent1097724fbb58d3c9cabd1babd318d4670f54d555 (diff)
downloadgitlab-ce-be18e70cd13eed870add512846534852da375814.tar.gz
Corrected indentation on the template stringuser-callouts
Also removed eslint disabled rules
-rw-r--r--app/assets/javascripts/user_callout.js19
1 files changed, 9 insertions, 10 deletions
diff --git a/app/assets/javascripts/user_callout.js b/app/assets/javascripts/user_callout.js
index 300d825ec9a..74b869502a4 100644
--- a/app/assets/javascripts/user_callout.js
+++ b/app/assets/javascripts/user_callout.js
@@ -1,4 +1,3 @@
-/* eslint-disable class-methods-use-this */
/* global Cookies */
const userCalloutElementName = '.user-callout';
@@ -16,15 +15,15 @@ const USER_CALLOUT_TEMPLATE = `
<div class="row">
<div class="col-sm-3 col-xs-12 svg-container">
</div>
- <div class="col-sm-8 col-xs-12 inner-content">
- <h4>
- Customize your experience
- </h4>
- <p>
- Change syntax themes, default project pages, and more in preferences.
- </p>
- <a class="btn user-callout-btn" href="/profile/preferences">Check it out</a>
- </div>
+ <div class="col-sm-8 col-xs-12 inner-content">
+ <h4>
+ Customize your experience
+ </h4>
+ <p>
+ Change syntax themes, default project pages, and more in preferences.
+ </p>
+ <a class="btn user-callout-btn" href="/profile/preferences">Check it out</a>
+ </div>
</div>
</div>`;