2014-01-21 04:51:49 +00:00
|
|
|
-set_meta_tags title: [title_object(@platform), t('layout.repositories.list_header')]
|
2012-05-02 10:18:07 +01:00
|
|
|
= render 'submenu' if params[:platform_id]
|
|
|
|
= render 'sidebar' if params[:platform_id]
|
2014-01-21 04:51:49 +00:00
|
|
|
= link_to t("layout.repositories.new"), new_platform_repository_path(@platform), class: 'button' if can? :create, @platform.repositories.build
|
|
|
|
= render 'list', object: @repositories
|
2012-05-02 10:18:07 +01:00
|
|
|
= will_paginate @repositories
|