mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-24 20:16:08 +10:00
Use simplified render syntax
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
%ul.bordered-list
|
||||
= render partial: 'snippet', collection: @snippets
|
||||
= render @snippets
|
||||
- if @snippets.empty?
|
||||
%li
|
||||
%h3.nothing_here_message Nothing here.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
= render 'wikis/nav'
|
||||
%h3.page_title
|
||||
Editing page
|
||||
= render partial: 'main_links'
|
||||
= render 'main_links'
|
||||
= render 'form'
|
||||
|
||||
.pull-right
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
%h3.page_title
|
||||
Git Access
|
||||
%strong= @gollum_wiki.path_with_namespace
|
||||
= render partial: 'main_links'
|
||||
= render 'main_links'
|
||||
|
||||
%br
|
||||
.content
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
%h3.page_title
|
||||
%span.light History for
|
||||
= @wiki.title.titleize
|
||||
= render partial: 'main_links'
|
||||
= render 'main_links'
|
||||
%br
|
||||
%table
|
||||
%thead
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
= render 'wikis/nav'
|
||||
%h3.page_title
|
||||
All Pages
|
||||
= render partial: 'main_links'
|
||||
= render 'main_links'
|
||||
%br
|
||||
%table
|
||||
%thead
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
= render 'wikis/nav'
|
||||
%h3.page_title
|
||||
= @wiki.title.titleize
|
||||
= render partial: 'main_links'
|
||||
= render 'main_links'
|
||||
%br
|
||||
- if @wiki.historical?
|
||||
.warning_message
|
||||
|
||||
Reference in New Issue
Block a user