rosa-build/app/views/platforms/show.html.haml

25 lines
788 B
Plaintext
Raw Normal View History

2011-03-10 13:38:50 +00:00
%h1
= t('layout.platforms.show')
= @platform.name
2011-03-10 21:48:15 +00:00
= link_to t('layout.platforms.back_to_the_list'), platforms_path
2011-03-17 14:47:16 +00:00
.freeze
- if @platform.released?
= link_to I18n.t("layout.platforms.unfreeze"), unfreeze_platform_path(@platform), :confirm => I18n.t("layout.platforms.confirm_unfreeze")
- else
= link_to I18n.t("layout.platforms.freeze"), freeze_platform_path(@platform), :confirm => I18n.t("layout.platforms.confirm_freeze")
2011-03-11 09:39:34 +00:00
.location
= t('layout.platforms.location')
= @platform.path
2011-03-10 13:38:50 +00:00
%h2= t('layout.platforms.repositories')
- @repositories.each do |repository|
= div_for repository do
= link_to repository.name, [@platform, repository]
= link_to t('layout.repositories.new'), new_platform_repository_path(@platform)
2011-03-10 13:38:50 +00:00
%h2= t('layout.platforms.products')
TBD