rosa-build/app/views/personal_repositories/settings.html.haml

18 lines
945 B
Plaintext
Raw Normal View History

.block
.secondary-navigation
%ul.wat-cf
%li.first= link_to t("layout.personal_repositories.show"), personal_repository_path(@repository)
%li.active= link_to t("layout.personal_repositories.settings"), settings_personal_repository_path(@repository)
%li= link_to t("layout.personal_repositories.private_users"), platform_private_users_path(@repository.platform) if @repository.platform.hidden?
.content
%h2.title= t("layout.personal_repositories.settings_header")
.inner
.group
2011-10-30 11:17:03 +00:00
%span= t("activerecord.attributes.platform.visibility") + ":"
%span
2011-10-30 11:17:03 +00:00
%i= t("activerecord.attributes.platform.visibility_types.#{ @repository.platform.visibility }")
.group
= link_to t("layout.personal_repositories.change_visibility_from_#{ @repository.platform.visibility }"), change_visibility_personal_repository_path(@repository)
-# content_for :sidebar, render(:partial => 'sidebar')