Project

General

Profile

Revision 2402a763

Added by Ori Rabin over 6 years ago

Refs #14370 - Adding new_link helper to containers and registries

View differences:

app/views/containers/index.html.erb
1 1
<% title _("Containers") %>
2 2

  
3
<%= title_actions(display_link_if_authorized(
4
  _('New container'),
5
  hash_for_new_container_path)) %>
3
<%= title_actions(new_link(_("New container"))) %>
6 4

  
7 5
<ul class="nav nav-tabs" data-tabs="tabs">
8 6
  <% @container_resources.each_with_index do |resource, i| %>

Also available in: Unified diff