##// END OF EJS Templates
Added cache for application settings (Setting model)....
Added cache for application settings (Setting model). Once the values are cached, only one database query is done at each user request (to check if the cache is still valid). git-svn-id: http://redmine.rubyforge.org/svn/trunk@685 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r645:7b366758fdc4
r674:6bdc13b33d8d
Show More
projects.rhtml
49 lines | 2.2 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_project_new), {:controller => 'projects', :action => 'add'}, :class => 'icon icon-add' %>
Jean-Philippe Lang
contextual links redesign...
r90 </div>
Jean-Philippe Lang
0.3 unstable...
r10 <h2><%=l(:label_project_plural)%></h2>
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
Added the ability to archive projects:...
r546 <% form_tag() do %>
<fieldset><legend><%= l(:label_filter_plural) %></legend>
<label><%= l(:field_status) %> :</label>
<%= select_tag 'status', project_status_options_for_select(@status), :class => "small", :onchange => "this.form.submit(); return false;" %>
<%= submit_tag l(:button_apply), :class => "small" %>
</fieldset>
<% end %>
&nbsp;
Jean-Philippe Lang
css cleaning...
r105 <table class="list">
<thead><tr>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <%= sort_header_tag('name', :caption => l(:label_project)) %>
<th><%=l(:field_description)%></th>
Jean-Philippe Lang
0.3 unstable...
r10 <th><%=l(:field_is_public)%></th>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <th><%=l(:label_subproject_plural)%></th>
<%= sort_header_tag('created_on', :caption => l(:field_created_on)) %>
Jean-Philippe Lang
css cleaning...
r105 <th></th>
Jean-Philippe Lang
Added the ability to archive projects:...
r546 <th></th>
Jean-Philippe Lang
css cleaning...
r105 </tr></thead>
<tbody>
Jean-Philippe Lang
v0.2.0...
r5 <% for project in @projects %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <tr class="<%= cycle("odd", "even") %>">
Jean-Philippe Lang
Added the ability to archive projects:...
r546 <td><%= project.active? ? link_to(project.name, :controller => 'projects', :action => 'settings', :id => project) : h(project.name) %>
Jean-Philippe Lang
Textilized project descriptions on project list and home page....
r645 <td><%= textilizable project.description, :project => project %>
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 <td align="center"><%= image_tag 'true.png' if project.is_public? %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <td align="center"><%= project.children.size %>
<td align="center"><%= format_date(project.created_on) %>
Jean-Philippe Lang
Added the ability to archive projects:...
r546 <td align="center" style="width:10%">
<small>
Jean-Philippe Lang
Added a confirmation dialog box for project archiving...
r600 <%= link_to(l(:button_archive), { :controller => 'projects', :action => 'archive', :id => project }, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-lock') if project.active? %>
Jean-Philippe Lang
Added the ability to archive projects:...
r546 <%= link_to(l(:button_unarchive), { :controller => 'projects', :action => 'unarchive', :id => project }, :method => :post, :class => 'icon icon-unlock') if !project.active? && (project.parent.nil? || project.parent.active?) %>
</small>
</td>
<td align="center" style="width:10%">
<small><%= link_to(l(:button_delete), { :controller => 'projects', :action => 'destroy', :id => project }, :class => 'icon icon-del') %></small>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </td>
Jean-Philippe Lang
Initial commit...
r2 </tr>
<% end %>
Jean-Philippe Lang
css cleaning...
r105 </tbody>
Jean-Philippe Lang
Initial commit...
r2 </table>
Jean-Philippe Lang
Added the ability to archive projects:...
r546 <p><%= pagination_links_full @project_pages, :status => @status %>
[ <%= @project_pages.current.first_item %> - <%= @project_pages.current.last_item %> / <%= @project_count %> ]</p>