<% #-- # Copyright (C) 2010 Juho Nieminen # Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . #++ %> <% @page_title = h(@project.title) + " - " + h(@page.title) + " - " + t("views.layout.pages") -%> <%= breadcrumbs_from(@root) -%> <%= wikize(@page.content) -%> <% if commit = @page.commit -%>
<%= render :partial => "actions" -%>

<% if @page.committed_by_user -%> <%#= t("views.pages.last_edited_by", :link_or_name => link_to(h(@page.committed_by_user.title), user_path(@page.committed_by_user))) -%> <% else -%> <%= t("views.pages.last_edited_by", :link_or_name => h(commit.committer.name)) -%> <% end -%> <%= commit.date.to_s(:short) -%>

<%= t("views.repos.wiki_clone_url") -%>: git clone <%= h(@repository.clone_url) -%>
<% if logged_in? && current_user.can_write_to?(@repository) -%> <%= t("views.repos.wiki_push_url") -%>: <%= h(@repository.push_url) -%> <% end -%>

<% end -%>