Commit 5bf88506ecbc2fd57f0103cd3d8ce394a82954b5

Authored by Dmitriy Zaporozhets
1 parent 2681a01b

rename writeboards to wiki

app/views/layouts/project_resource.html.haml
... ... @@ -36,7 +36,7 @@
36 36 %span.count.merge_counter= @project.merge_requests.opened.count
37 37  
38 38 = nav_link(html_options: {class: "#{project_writeboards_tab_class}"}) do
39   - = link_to 'Writeboards', project_wiki_path(@project, :index)
  39 + = link_to 'Wiki', project_wiki_path(@project, :index)
40 40  
41 41 - if can? current_user, :admin_project, @project
42 42 = nav_link(html_options: {class: "#{project_tab_class}"}) do
... ...
app/views/wikis/show.html.haml
... ... @@ -11,6 +11,7 @@
11 11 .file_title
12 12 = link_to '#', class: 'wiki-fullscreen' do
13 13 %i.icon-resize-horizontal
  14 +  
14 15 = @wiki.title
15 16 %span.options
16 17 = link_to pages_project_wikis_path(@project), class: "btn btn-tiny grouped" do
... ...