Add initial support for grid index URLs
Yay, been wanting this for some time now.
This commit is contained in:
parent
70a2f10c81
commit
abb42e9f25
5 changed files with 80 additions and 25 deletions
|
@ -5,6 +5,7 @@
|
|||
|
||||
<%def name="context_menu_items()">
|
||||
<li>${h.link_to("Back to {}".format(model_title_plural), index_url)}</li>
|
||||
<li>${h.link_to("Permalink for this {}".format(model_title), action_url('view', instance))}</li>
|
||||
% if master.editable and instance_editable and request.has_perm('{}.edit'.format(permission_prefix)):
|
||||
<li>${h.link_to("Edit this {}".format(model_title), action_url('edit', instance))}</li>
|
||||
% endif
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
% endfor
|
||||
% if grid.show_actions_column:
|
||||
<td class="actions">
|
||||
${grid.render_actions(row)}
|
||||
${grid.render_actions(row, i)}
|
||||
</td>
|
||||
% endif
|
||||
</tr>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue