Sha256: 8e7d4b3ab471344853672d20777a529fde729aee4fef1f9a677cca2b10c4ac13

Contents?: true

Size: 787 Bytes

Versions: 21

Compression:

Stored size: 787 Bytes

Contents

<ul>
<%% if @<%= model_name_underscored %> -%>
  <li><%%= context_menu_link l(:button_edit), edit_<%= model_name_underscored %>_path(@<%= model_name_underscored %>), class: 'icon icon-edit', disabled: !@can[:edit] %></li>
<%% end %>
  <li><%%= context_menu_link l(:button_delete), <%= model_name_pluralize_underscored %>_path(ids: @<%= model_name_underscored %>_ids, back_url: @back), method: :delete, data: {confirm: l(:text_are_you_sure)}, class: 'icon icon-del', disabled: !@can[:delete] %></li>

  <%%= call_hook(:view_<%= model_name_pluralize_underscored %>_context_menu_end, {<%= model_name_underscored %>: @<%= model_name_underscored %>, <%= model_name_pluralize_underscored %>: @<%= model_name_pluralize_underscored %>, can: @can, back: @back, project: @project}) %>
</ul>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
redmine_extensions-0.0.38 lib/generators/redmine_extensions/entity/templates/context_menu.html.erb.erb
redmine_extensions-0.1.13 lib/generators/redmine_extensions/entity/templates/context_menu.html.erb.erb
redmine_extensions-0.1.10 lib/generators/redmine_extensions/entity/templates/context_menu.html.erb.erb
redmine_extensions-0.1.05 lib/generators/redmine_extensions/entity/templates/context_menu.html.erb.erb
redmine_extensions-0.1.04 lib/generators/redmine_extensions/entity/templates/context_menu.html.erb.erb
redmine_extensions-0.1.03 lib/generators/redmine_extensions/entity/templates/context_menu.html.erb.erb
redmine_extensions-0.1.02 lib/generators/redmine_extensions/entity/templates/context_menu.html.erb.erb
redmine_extensions-0.1.01 lib/generators/redmine_extensions/entity/templates/context_menu.html.erb.erb
redmine_extensions-0.0.29 lib/generators/redmine_extensions/entity/templates/context_menu.html.erb.erb
redmine_extensions-0.0.28 lib/generators/redmine_extensions/entity/templates/context_menu.html.erb.erb
redmine_extensions-0.0.24 lib/generators/redmine_extensions/entity/templates/context_menu.html.erb.erb
redmine_extensions-0.0.23 lib/generators/redmine_extensions/entity/templates/context_menu.html.erb.erb
redmine_extensions-0.0.22 lib/generators/redmine_extensions/entity/templates/context_menu.html.erb.erb
redmine_extensions-0.0.21 lib/generators/redmine_extensions/entity/templates/context_menu.html.erb.erb
redmine_extensions-0.0.20 lib/generators/redmine_extensions/entity/templates/context_menu.html.erb.erb
redmine_extensions-0.0.19 lib/generators/redmine_extensions/entity/templates/context_menu.html.erb.erb
redmine_extensions-0.0.18 lib/generators/redmine_extensions/entity/templates/context_menu.html.erb.erb
redmine_extensions-0.0.17 lib/generators/redmine_extensions/entity/templates/context_menu.html.erb.erb
redmine_extensions-0.0.16 lib/generators/redmine_extensions/entity/templates/context_menu.html.erb.erb
redmine_extensions-0.0.15 lib/generators/redmine_extensions/entity/templates/context_menu.html.erb.erb