Milimetric has uploaded a new change for review.
https://gerrit.wikimedia.org/r/267806
Change subject: Add explanatory text to the program-metrics form
......................................................................
Add explanatory text to the program-metrics form
Bug: T121899
Change-Id: I17a7aa6cf0bf76860d36387f1c38c6e294db4f91
---
A wikimetrics/static/img/pasteUsers.png
M wikimetrics/templates/forms/program_metrics_report_upload.html
2 files changed, 7 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/analytics/wikimetrics
refs/changes/06/267806/1
diff --git a/wikimetrics/static/img/pasteUsers.png
b/wikimetrics/static/img/pasteUsers.png
new file mode 100644
index 0000000..a2b8c43
--- /dev/null
+++ 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 3baef7f..bfd0e8c 100644
--- a/wikimetrics/templates/forms/program_metrics_report_upload.html
+++ b/wikimetrics/templates/forms/program_metrics_report_upload.html
@@ -22,6 +22,8 @@
<textarea name="paste_ids_or_names" id="paste_ids_or_names"
rows="4"
cols="50">{{form.paste_ids_or_names.data or
''}}</textarea>
+
+ 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) }}
</div>
</div>
@@ -34,12 +36,13 @@
options: availableTimezones,
optionsText: 'name',
value: timezone"></select>
- (To find the UTC offset of your timezone go
- <a href="https://en.wikipedia.org/wiki/List_of_UTC_time_offsets"
target="_blank">here</a>)
+
+ To find your timezone and UTC offset, go
+ <a href="https://en.wikipedia.org/wiki/List_of_UTC_time_offsets"
target="_blank">here</a>
</div>
</div>
<div class="control-group">
- <label class="control-label" for="start_date">Start Date</label>
+ <label class="control-label" for="start_date">Event Start Date</label>
<div class="controls">
<div data-bind="datetimepicker: {
timezone: timezone,
@@ -50,7 +53,7 @@
</div>
</div>
<div class="control-group">
- <label class="control-label" for="end_date">End Date / As of
Date</label>
+ <label class="control-label" for="end_date">Event End Date</label>
<div class="controls">
<div data-bind="datetimepicker: {
timezone: timezone,
--
To view, visit https://gerrit.wikimedia.org/r/267806
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I17a7aa6cf0bf76860d36387f1c38c6e294db4f91
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