[Xfce4-commits] <moka:master> Auto-check xfce mailing lists.

Nick Schermer noreply at xfce.org
Sun Dec 4 13:40:01 CET 2011


Updating branch refs/heads/master
         to 845fc27cd2cefb732d4134a6c096da345e3a8700 (commit)
       from 211d8d92224d538d2e423b5f425cdc50c194a73c (commit)

commit 845fc27cd2cefb732d4134a6c096da345e3a8700
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Dec 4 13:39:12 2011 +0100

    Auto-check xfce mailing lists.

 .../project_branch_new_release_announcement.haml   |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/lib/views/project_branch_new_release_announcement.haml b/lib/views/project_branch_new_release_announcement.haml
index c94f0e0..fb7db9d 100755
--- a/lib/views/project_branch_new_release_announcement.haml
+++ b/lib/views/project_branch_new_release_announcement.haml
@@ -18,7 +18,10 @@
       - if env['mailinglists']
         - for list in env['mailinglists'].lists
           %p.quote
-            %input{:type => "checkbox", :name => "mailinglists[#{list}]", :value => "announce"} Announce on #{list}
+            %input{:type => "checkbox",
+                   :name => "mailinglists[#{list}]",
+                   :value => "announce",
+                   :checked => (list.start_with? "xfce")} Announce on #{list}
         %p.quote
           Make sure to be subscribed to these mailinglists with #{authentication_user.email}.
           You can change your email address in your profile.


More information about the Xfce4-commits mailing list