Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1717)

Unified Diff: dashboard/dashboard/templates/edit_sheriffs.html

Issue 2138843003: Add support for setting sheriff-specific bug labels. (Closed) Base URL: https://github.com/catapult-project/catapult@master
Patch Set: Fix unit tests Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dashboard/dashboard/send_stoppage_alert_emails.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dashboard/dashboard/templates/edit_sheriffs.html
diff --git a/dashboard/dashboard/templates/edit_sheriffs.html b/dashboard/dashboard/templates/edit_sheriffs.html
index ba9d933176390eea58e580df2ce22cfe0ab239b4..f7a7329827ea118ed17820a5d18460260e4659d4 100644
--- a/dashboard/dashboard/templates/edit_sheriffs.html
+++ b/dashboard/dashboard/templates/edit_sheriffs.html
@@ -55,6 +55,7 @@ found in the LICENSE file.
document.getElementById('summarize-' + summarize).checked = true;
document.getElementById('patterns-textarea').value = sheriff['patterns'];
+ document.getElementById('labels').value = sheriff['labels'];
document.getElementById('list-tests-button').hidden = false;
}
@@ -69,6 +70,7 @@ found in the LICENSE file.
document.getElementById('internal-only-yes').checked = true;
document.getElementById('summarize-no').checked = true;
document.getElementById('patterns-textarea').textContent = '';
+ document.getElementById('labels').value = '';
document.getElementById('list-tests-button').hidden = true;
}
@@ -132,6 +134,10 @@ found in the LICENSE file.
<td><label for="email">Notification Email:</label></td>
<td><input type="email" name="email" id="email" size=75></td>
</tr>
+ <tr>
+ <td><label for="labels">Bug labels to add (comma-separated):</label></td>
+ <td><input type="text" name="labels" id="labels" size=75></td>
+ </tr>
</tr>
<td><label for="email">Days before alerting on missing data
(-1 for no alerts):</label></td>
« no previous file with comments | « dashboard/dashboard/send_stoppage_alert_emails.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698