diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-01-03 17:57:55 -0600 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-02-06 14:51:18 -0600 |
commit | 58110293d4425c50a87975749551e069a02dc0cd (patch) | |
tree | 30df8e75fa51d1aa14002b05e2ed2fa806ca24d0 /app/views/projects/triggers | |
parent | ee43dcd5d633f19b13a1d914a403686faec2bbca (diff) | |
download | gitlab-ce-58110293d4425c50a87975749551e069a02dc0cd.tar.gz |
Converted the views to partials that compose the menu item "pipelines"
Diffstat (limited to 'app/views/projects/triggers')
-rw-r--r-- | app/views/projects/triggers/_index.html.haml (renamed from app/views/projects/triggers/index.html.haml) | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app/views/projects/triggers/index.html.haml b/app/views/projects/triggers/_index.html.haml index b9c4e323430..d199b92a476 100644 --- a/app/views/projects/triggers/index.html.haml +++ b/app/views/projects/triggers/_index.html.haml @@ -1,5 +1,3 @@ -- page_title "Triggers" - .row.prepend-top-default.append-bottom-default .col-lg-3 %h4.prepend-top-0 @@ -25,12 +23,12 @@ %th %strong Last used %th - = render partial: 'trigger', collection: @triggers, as: :trigger + = render partial: 'projects/triggers/trigger', collection: @triggers, as: :trigger - else %p.settings-message.text-center.append-bottom-default No triggers have been created yet. Add one using the button below. - = form_for @trigger, url: url_for(controller: 'projects/triggers', action: 'create') do |f| + = form_for @trigger, url: url_for(controller: '/projects/triggers', action: 'create') do |f| = f.submit "Add trigger", class: 'btn btn-success' .panel-footer |