Milimetric has uploaded a new change for review.

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

Change subject: Improve directions for program metric
......................................................................

Improve directions for program metric

Change-Id: I7a667e919679715155a62cd9a0c83f34adb3d485
---
M wikimetrics/static/css/site.css
M wikimetrics/static/img/pasteUsers.png
M wikimetrics/templates/forms/program_metrics_report_upload.html
3 files changed, 11 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/analytics/wikimetrics 
refs/changes/90/292390/1

diff --git a/wikimetrics/static/css/site.css b/wikimetrics/static/css/site.css
index b84dc13..772c3a3 100644
--- a/wikimetrics/static/css/site.css
+++ b/wikimetrics/static/css/site.css
@@ -109,3 +109,10 @@
 select {
     margin: 0;
 }
+
+span.textarea-label {
+    display: inline-block;
+    width: 30%;
+    vertical-align: bottom;
+    margin: 0 12px 0 12px;
+}
diff --git a/wikimetrics/static/img/pasteUsers.png 
b/wikimetrics/static/img/pasteUsers.png
index a2b8c43..62b7596 100644
--- a/wikimetrics/static/img/pasteUsers.png
+++ b/wikimetrics/static/img/pasteUsers.png
Binary files differ
diff --git a/wikimetrics/templates/forms/program_metrics_report_upload.html 
b/wikimetrics/templates/forms/program_metrics_report_upload.html
index bfd0e8c..3873cdb 100644
--- a/wikimetrics/templates/forms/program_metrics_report_upload.html
+++ b/wikimetrics/templates/forms/program_metrics_report_upload.html
@@ -22,9 +22,11 @@
             <textarea name="paste_ids_or_names" id="paste_ids_or_names"
                       rows="4"
                       cols="50">{{form.paste_ids_or_names.data or 
''}}</textarea>
-            &nbsp;&nbsp;
-            The usernames should be separated, one per line, like <img src="{{ 
url_for('static', filename='img/pasteUsers.png') }}"/>
             {{ validation.messages(form.paste_ids_or_names) }}
+            <span class="textarea-label">
+            The usernames should be separated, one per line.  Names that 
include commas should be in double quotes.  See the example:
+            </span>
+            <img src="{{ url_for('static', filename='img/pasteUsers.png') }}"/>
         </div>
     </div>
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7a667e919679715155a62cd9a0c83f34adb3d485
Gerrit-PatchSet: 1
Gerrit-Project: analytics/wikimetrics
Gerrit-Branch: master
Gerrit-Owner: Milimetric <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to