mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-26 00:54:08 +01:00
Remove trailing whitespace and tabs
This commit is contained in:
parent
863d780ad0
commit
aa41e20e46
84 changed files with 407 additions and 407 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<div id="single_box" class="container context authtype_container">
|
||||
|
||||
|
||||
<h2><%= t('users.change_authentication_type') %></h2>
|
||||
|
||||
<%= get_list_of_error_messages_for @user %>
|
||||
|
|
@ -7,12 +7,12 @@
|
|||
<p><%= t('users.select_authentication_type') %></p>
|
||||
|
||||
<%= form_tag :action => 'update_auth_type' do %>
|
||||
<div><label for="user_auth_type"><%= t('users.label_auth_type') %>:</label> <%= select('user', 'auth_type', Tracks::Config.auth_schemes.collect {|p| [ p, p ] }) %></div>
|
||||
<div id="open_id" style="display:<%= current_user.auth_type == 'open_id' ? 'block' : 'none' %>"><label for="openid_url"><%= t('users.identity_url') %>:</label> <input type="text" name="openid_url" value="<%= current_user.open_id_url %>" class="open_id" /></div>
|
||||
<div class="actions"><%= submit_tag t('users.auth_change_submit') %> <%= link_to t('common.cancel'), preferences_path %></div>
|
||||
<div><label for="user_auth_type"><%= t('users.label_auth_type') %>:</label> <%= select('user', 'auth_type', Tracks::Config.auth_schemes.collect {|p| [ p, p ] }) %></div>
|
||||
<div id="open_id" style="display:<%= current_user.auth_type == 'open_id' ? 'block' : 'none' %>"><label for="openid_url"><%= t('users.identity_url') %>:</label> <input type="text" name="openid_url" value="<%= current_user.open_id_url %>" class="open_id" /></div>
|
||||
<div class="actions"><%= submit_tag t('users.auth_change_submit') %> <%= link_to t('common.cancel'), preferences_path %></div>
|
||||
|
||||
<%= observe_field( :user_auth_type, :function => "$('#open_id')[0].style.display = value == 'open_id' ? 'block' : 'none'") %>
|
||||
|
||||
<%= observe_field( :user_auth_type, :function => "$('#open_id')[0].style.display = value == 'open_id' ? 'block' : 'none'") %>
|
||||
|
||||
<% end %>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
<p><%= t('users.total_users_count', :count => "<span id=\"user_count\">#{@total_users}</span>").html_safe %></p>
|
||||
|
||||
<table class="users_table">
|
||||
<tr>
|
||||
<table class="users_table">
|
||||
<tr>
|
||||
<th><%= User.human_attribute_name('login') %></th>
|
||||
<th><%= User.human_attribute_name('display_name') %></th>
|
||||
<th><%= User.human_attribute_name('auth_type') %></th>
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
<th><%= t('users.total_projects') %></th>
|
||||
<th><%= t('users.total_notes') %></th>
|
||||
<th> </th>
|
||||
</tr>
|
||||
</tr>
|
||||
<% for user in @users %>
|
||||
<tr <%= "class=\"highlight\"" if user.is_admin? %> id="user-<%= user.id %>">
|
||||
<td><%=h user.login %></td>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<%= get_list_of_error_messages_for @user %><br/>
|
||||
|
||||
<%= render_flash %>
|
||||
|
||||
|
||||
<h3><%= @heading -%></h3>
|
||||
|
||||
<table>
|
||||
|
|
@ -12,14 +12,14 @@
|
|||
<td><label for="user_login"><%= t('users.desired_login') %>:</label></td>
|
||||
<td> <%= text_field "user", "login", :size => 20 %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr>
|
||||
<td><label for="user_password"><%= t('users.choose_password') %>:</label></td>
|
||||
<td><%= password_field "user", "password", :size => 20 %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="user_password_confirmation"><%= t('users.confirm_password') %>:</label></td>
|
||||
<td><%= password_field "user", "password_confirmation", :size => 20 %></td>
|
||||
</tr>
|
||||
<td><%= password_field "user", "password", :size => 20 %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="user_password_confirmation"><%= t('users.confirm_password') %>:</label></td>
|
||||
<td><%= password_field "user", "password_confirmation", :size => 20 %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><input type="submit" id="signup" value="<%= t('users.signup') %> »" class="primary" /></td>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<div title="No signups" id="signupform" class="form">
|
||||
<h3>No Signups</h3>
|
||||
<p>You don't have permission to sign up for a new account.</p>
|
||||
<p>You don't have permission to sign up for a new account.</p>
|
||||
<p>Please contact the site administrator <%= mail_to "#{@admin_email}", "by email", :encode => "hex" %> to get permission.</p>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue