diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-03-15 10:51:24 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-03-15 10:51:24 +0000 |
commit | d78d83f55394bbdac20dcf7ebff43ccc41ff9676 (patch) | |
tree | 79277b864b84326c6ade96f3dc6b1344f2ff18bf | |
parent | 1f4e3af1921f7b71a9349a15ad1e8ff79a00491e (diff) | |
download | redmine-d78d83f55394bbdac20dcf7ebff43ccc41ff9676.tar.gz redmine-d78d83f55394bbdac20dcf7ebff43ccc41ff9676.zip |
replace tabs to spaces and fix indents at app/views/settings/_repositories.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11625 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/views/settings/_repositories.html.erb | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/app/views/settings/_repositories.html.erb b/app/views/settings/_repositories.html.erb index 5c8ba2432..3341de313 100644 --- a/app/views/settings/_repositories.html.erb +++ b/app/views/settings/_repositories.html.erb @@ -13,29 +13,29 @@ <% scm_class = "Repository::#{choice}".constantize %> <% text, value = (choice.is_a?(Array) ? choice : [choice, choice]) %> <% setting = :enabled_scm %> - <% enabled = Setting.send(setting).include?(value) %> + <% enabled = Setting.send(setting).include?(value) %> <tr> <td class="scm_name"> <label> - <%= check_box_tag("settings[#{setting}][]", value, enabled, :id => nil) %> - <%= text.to_s %> + <%= check_box_tag("settings[#{setting}][]", value, enabled, :id => nil) %> + <%= text.to_s %> </label> </td> <td> - <% if enabled %> - <%= - image_tag( + <% if enabled %> + <%= + image_tag( (scm_class.scm_available ? 'true.png' : 'exclamation.png'), :style => "vertical-align:bottom;" - ) + ) %> <%= scm_class.scm_command %> - <% end %> - </td> - <td> - <%= scm_class.scm_version_string if enabled %> - </td> - </tr> + <% end %> + </td> + <td> + <%= scm_class.scm_version_string if enabled %> + </td> + </tr> <% end %> </table> <p><em class="info"><%= l(:text_scm_config) %></em></p> |