##// END OF EJS Templates
Unified UsersController#list and #index....
Unified UsersController#list and #index. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2991 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2877:92ec35e6570b
r2877:92ec35e6570b
Show More
index.rhtml
47 lines | 2.1 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
contextual links redesign...
r90 <div class="contextual">
Jean-Philippe Lang
* all icons replaced (new icons are based on GPL icon set: "KDE Crystal Diamond 2.5" -by paolino- and "kNeu! Alpha v0.1" -by Pablo Fabregat-)...
r154 <%= link_to l(:label_user_new), {:action => 'add'}, :class => 'icon icon-add' %>
Jean-Philippe Lang
contextual links redesign...
r90 </div>
Jean-Philippe Lang
Localization plugin removed (replaced with GLoc)...
r12 <h2><%=l(:label_user_plural)%></h2>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
Jean-Philippe Lang
Slight changes on users list view and hide Anonymous user....
r1104 <% form_tag({}, :method => :get) do %>
Jean-Philippe Lang
added a status filter on users/list...
r344 <fieldset><legend><%= l(:label_filter_plural) %></legend>
Jean-Philippe Lang
Adds the ability to search for a user on the administration users list....
r1943 <label><%= l(:field_status) %>:</label>
Jean-Philippe Lang
Adds user count in status drop down on admin user list....
r1734 <%= select_tag 'status', users_status_options_for_select(@status), :class => "small", :onchange => "this.form.submit(); return false;" %>
Jean-Philippe Lang
Adds the ability to search for a user on the administration users list....
r1943 <label><%= l(:label_user) %>:</label>
<%= text_field_tag 'name', params[:name], :size => 30 %>
<%= submit_tag l(:button_apply), :class => "small", :name => nil %>
Jean-Philippe Lang
added a status filter on users/list...
r344 </fieldset>
<% end %>
&nbsp;
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <table class="list">
Jean-Philippe Lang
css cleaning...
r105 <thead><tr>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <%= sort_header_tag('login', :caption => l(:field_login)) %>
<%= sort_header_tag('firstname', :caption => l(:field_firstname)) %>
<%= sort_header_tag('lastname', :caption => l(:field_lastname)) %>
Jean-Philippe Lang
More appropriate default sort order on sortable columns....
r1107 <%= sort_header_tag('mail', :caption => l(:field_mail)) %>
<%= sort_header_tag('admin', :caption => l(:field_admin), :default_order => 'desc') %>
<%= sort_header_tag('created_on', :caption => l(:field_created_on), :default_order => 'desc') %>
<%= sort_header_tag('last_login_on', :caption => l(:field_last_login_on), :default_order => 'desc') %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <th></th>
Jean-Philippe Lang
css cleaning...
r105 </tr></thead>
<tbody>
Jean-Philippe Lang
Slight changes on users list view and hide Anonymous user....
r1104 <% for user in @users -%>
<tr class="user <%= cycle("odd", "even") %> <%= %w(anon active registered locked)[user.status] %>">
Jean-Philippe Lang
Changes ApplicationHelper#gravatar_for_mail to #avatar that takes a User or a String (less code in views)....
r1998 <td class="username"><%= avatar(user, :size => "14") %><%= link_to h(user.login), :action => 'edit', :id => user %></td>
Jean-Philippe Lang
Escapes HTML tags....
r1598 <td class="firstname"><%= h(user.firstname) %></td>
<td class="lastname"><%= h(user.lastname) %></td>
Jean-Philippe Lang
Adds mailto link on the user administration list (#1670)....
r1670 <td class="email"><%= mail_to(h(user.mail)) %></td>
Jean-Philippe Lang
Slight changes on users list view and hide Anonymous user....
r1104 <td align="center"><%= image_tag('true.png') if user.admin? %></td>
<td class="created_on" align="center"><%= format_time(user.created_on) %></td>
<td class="last_login_on" align="center"><%= format_time(user.last_login_on) unless user.last_login_on.nil? %></td>
Jean-Philippe Lang
Preserve status filter and page number when using lock/unlock/activate links on the users list (closes #998)....
r1319 <td><small><%= change_status_link(user) %></small></td>
Jean-Philippe Lang
Initial commit...
r2 </tr>
Jean-Philippe Lang
Slight changes on users list view and hide Anonymous user....
r1104 <% end -%>
Jean-Philippe Lang
css cleaning...
r105 </tbody>
Jean-Philippe Lang
Initial commit...
r2 </table>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
Jean-Philippe Lang
New setting added to specify how many objects should be displayed on most paginated lists....
r1013 <p class="pagination"><%= pagination_links_full @user_pages, @user_count %></p>
Jean-Philippe Lang
More detailed html title on several views....
r951
Jean-Philippe Lang
Slight improvements to the browser views....
r1019 <% html_title(l(:label_user_plural)) -%>