Changesets can be listed by changeset number.
The Git repository is here.
Changeset 423
Add ROOL site-specific links to CMS and forum pages in the
list and details views for bounties. Make the title of a
bounty in the list view a link to the 'show' page too.
- Comitted by: rool
- Date: Friday April 15 16:56:34 2011 (over 13 years ago)
Affected files:
- rool/rails/canvass/trunk/app/views/polls/_list.html.erb (diff)
- rool/rails/canvass/trunk/app/views/polls/show.html.erb (diff)
rool/rails/canvass/trunk/app/views/polls/_list.html.erb:
prev. | current | |
<tbody> | ||
<% for poll in @items %> | ||
<tr class="<%= cycle( 'odd', 'even' ) %> poll_state <%= poll.workflow_state %>"> | ||
29 | | |
29 | <td><%= link_to( ( h poll.title ), poll ) %></td> | |
<td class="poll_state <%= poll.workflow_state %>"> | ||
<%= apphelp_state( poll.workflow_state ) %> | ||
<%= help_link( "poll_states" ) %> | ||
... | ... | |
<tr> | ||
<td colspan="5"> | ||
<div class="pagination"> | ||
45 | | |
45 | <%= apphelp_i18n_will_paginate( @items ) %><br /> | |
46 | <a href="/content/documents/bounties">More information</a> | | |
47 | <a href="/forum/forums/8">Forum</a> | |
</div> | ||
<div class="buttons"> | ||
<%= apphelp_protected_button_to( :new, { :method => :new_poll_path } ) %> |
rool/rails/canvass/trunk/app/views/polls/show.html.erb:
prev. | current | |
<%= help_link( "poll_states" ) %> | ||
</td> | ||
</tr> | ||
24 | <tr valign="top"> | |
25 | <th>Help</th> | |
26 | <td> | |
27 | <a href="/content/documents/bounties">More information about the bounty scheme</a><br /> | |
28 | <a href="/forum/forums/8">Bounty scheme discussion forum</a> | |
29 | </td> | |
30 | </tr> | |
</table> | ||
<p /> |