2011-10-27 14:04:03 +01:00
|
|
|
.block
|
|
|
|
.secondary-navigation
|
|
|
|
%ul.wat-cf
|
|
|
|
%li.first.active= link_to t("layout.personal_repositories.show"), personal_repository_path(@repository)
|
|
|
|
%li= link_to t("layout.personal_repositories.settings"), settings_personal_repository_path(@repository)
|
2011-10-30 20:03:05 +00:00
|
|
|
%li= link_to t("layout.personal_repositories.private_users"), platform_private_users_path(@repository.platform) if @repository.platform.hidden?
|
2011-10-27 14:04:03 +01:00
|
|
|
.content
|
|
|
|
.inner
|
|
|
|
%p
|
|
|
|
%b
|
|
|
|
= t("activerecord.attributes.repository.owner")
|
|
|
|
\:
|
|
|
|
= link_to @repository.owner.name, url_for(@repository.owner)
|
2011-11-01 13:22:41 +00:00
|
|
|
|
2011-11-03 08:02:55 +00:00
|
|
|
= render 'shared/urpmi_list', :urpmi_commands => @urpmi_commands
|
2011-10-27 14:04:03 +01:00
|
|
|
.wat-cf
|
|
|
|
=# link_to image_tag("web-app-theme/icons/cross.png", :alt => t("layout.delete")) + " " + t("layout.delete"), @repository_path, :method => "delete", :class => "button", :confirm => t("layout.repositories.confirm_delete")
|
|
|
|
|
|
|
|
%a{ :name => "projects" }
|
|
|
|
.block
|
|
|
|
.secondary-navigation
|
|
|
|
%ul.wat-cf
|
|
|
|
%li.first.active= link_to t("layout.projects.list"), personal_repository_path(@repository) + "#projects"
|
|
|
|
%li= link_to t("layout.projects.add"), add_project_personal_repository_path(@repository)
|
2011-11-02 21:37:00 +00:00
|
|
|
%li= link_to t("layout.projects.new"), new_project_path
|
2011-10-27 14:04:03 +01:00
|
|
|
.content
|
|
|
|
%h2.title
|
|
|
|
= t("layout.projects.list_header")
|
|
|
|
.inner
|
|
|
|
= render :partial => 'shared/search_form'
|
|
|
|
= render :partial => 'proj_list1', :object => @projects
|
|
|
|
.actions-bar.wat-cf
|
|
|
|
.actions
|
|
|
|
= will_paginate @projects, :param_name => :project_page
|
|
|
|
|
|
|
|
|
|
|
|
-# content_for :sidebar, render(:partial => 'sidebar')
|