2011-10-17 15:20:35 +01:00
|
|
|
.block
|
|
|
|
.secondary-navigation
|
|
|
|
%ul.wat-cf
|
|
|
|
%li.first.active= link_to t("layout.repositories.list"), repositories_path
|
2011-11-24 21:46:19 +00:00
|
|
|
%li= link_to t("layout.repositories.new"), new_repository_path if can? :create, Platform # TODO repo without platform??
|
2011-10-17 15:20:35 +01:00
|
|
|
.content
|
|
|
|
%h2.title
|
2011-10-19 14:16:29 +01:00
|
|
|
= t("layout.repositories.list_header")
|
2011-10-17 15:20:35 +01:00
|
|
|
.inner
|
|
|
|
= render :partial => 'shared/search_form'
|
|
|
|
= render :partial => 'list', :object => @repositories
|
|
|
|
.actions-bar.wat-cf
|
|
|
|
.actions
|
|
|
|
= will_paginate @repositories, :param_name => :repository_page
|