2014-09-02 18:07:02 +05:30
|
|
|
%span.pull-right
|
|
|
|
- if (@page && @page.persisted?)
|
2015-04-26 12:48:37 +05:30
|
|
|
= link_to history_namespace_project_wiki_path(@project.namespace, @project, @page), class: "btn btn-grouped" do
|
2014-09-02 18:07:02 +05:30
|
|
|
Page History
|
2015-09-11 14:41:01 +05:30
|
|
|
- if can?(current_user, :create_wiki, @project)
|
2015-04-26 12:48:37 +05:30
|
|
|
= link_to edit_namespace_project_wiki_path(@project.namespace, @project, @page), class: "btn btn-grouped" do
|
|
|
|
%i.fa.fa-pencil-square-o
|
2014-09-02 18:07:02 +05:30
|
|
|
Edit
|