Yuvipanda has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/149776

Change subject: Make everything be CC licensed
......................................................................

Make everything be CC licensed

Change-Id: I0dbdd47710719313300704df68f97c305632b11c
---
M quarry/web/templates/query/view.html
1 file changed, 10 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/analytics/quarry/web 
refs/changes/76/149776/1

diff --git a/quarry/web/templates/query/view.html 
b/quarry/web/templates/query/view.html
index cb2fb58..fe7b44d 100644
--- a/quarry/web/templates/query/view.html
+++ b/quarry/web/templates/query/view.html
@@ -19,11 +19,18 @@
         <h3>SQL</h3>
         <textarea id="code">{% if query.latest_rev %}{{ query.latest_rev.text 
}}{%endif%}</textarea>
     </div>
-    {% if jsvars.can_edit %}
     <div class="row well">
-        <a href="#" id="run-code" class="btn btn-primary pull-right">Submit 
Query</a>
-    </div>
+    {% if jsvars.can_edit %}
+        <div class='col-md-8'>
+            By running queries you agree to the <a 
href="https://wikitech.wikimedia.org/wiki/Wikitech:Labs_Terms_of_use";>Labs 
ToS</a> and you irrevocably agree to release your contributions under <a 
href="https://creativecommons.org/licenses/by-sa/3.0/";>CC BY-SA 3.0</a>.
+        </div>
+        <div cass='col-md-4 last'>
+            <a href="#" id="run-code" class="btn btn-primary 
pull-right">Submit Query</a>
+        </div>
+    {% else %}
+        All SQL code is licensed under <a 
href="https://creativecommons.org/licenses/by-sa/3.0/";>CC BY-SA 3.0</a>.
     {% endif %}
+    </div>
 
     <div id="query-result-container"class="row">
         <div id="query-result-success">

-- 
To view, visit https://gerrit.wikimedia.org/r/149776
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0dbdd47710719313300704df68f97c305632b11c
Gerrit-PatchSet: 1
Gerrit-Project: analytics/quarry/web
Gerrit-Branch: master
Gerrit-Owner: Yuvipanda <yuvipa...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to