allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [1/2] git commit: [#5649] ticket:298 Changed defaults of Select fields to 'no change' in bulk edit
Date Mon, 25 Mar 2013 21:45:55 GMT
Updated Branches:
  refs/heads/master d548f0eb9 -> d2678d12d


[#5649] ticket:298 Changed defaults of Select fields to 'no change' in bulk edit


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/d242cae6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/d242cae6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/d242cae6

Branch: refs/heads/master
Commit: d242cae61c4c21c9af8e3f4b248b4273d1245b14
Parents: d548f0e
Author: Aleksey 'LXj' Alekseyev <gotletter@gmail.com>
Authored: Thu Mar 21 18:47:18 2013 +0200
Committer: Cory Johns <johnsca@geek.net>
Committed: Mon Mar 25 21:33:11 2013 +0000

----------------------------------------------------------------------
 .../templates/tracker_widgets/mass_edit_form.html  |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/d242cae6/ForgeTracker/forgetracker/templates/tracker_widgets/mass_edit_form.html
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/templates/tracker_widgets/mass_edit_form.html b/ForgeTracker/forgetracker/templates/tracker_widgets/mass_edit_form.html
index 2f1a42d..8386620 100644
--- a/ForgeTracker/forgetracker/templates/tracker_widgets/mass_edit_form.html
+++ b/ForgeTracker/forgetracker/templates/tracker_widgets/mass_edit_form.html
@@ -41,11 +41,7 @@
             <select name="{{field.name}}" class="wide">
               <option value="" selected="selected">no change</option>
               {% for option in field.options.split() %}
-                {% if option.startswith('*') %}
-                  <option value="{{option[1:]}}" selected="selected">{{option[1:]}}</option>
-                {% else %}
-                  <option value="{{option}}">{{option}}</option>
-                {% endif %}
+                <option value="{{option}}">{{option}}</option>
               {% endfor %}
             </select>
           {% elif field.type == 'milestone' %}


Mime
View raw message