2021-11-11 11:23:49 +05:30
|
|
|
- add_to_breadcrumbs _('Wiki'), wiki_path(@wiki)
|
2018-03-17 18:26:18 +05:30
|
|
|
- breadcrumb_title s_("Wiki|Pages")
|
|
|
|
- page_title s_("Wiki|Pages"), _("Wiki")
|
2021-01-03 14:25:43 +05:30
|
|
|
- add_page_specific_style 'page_bundles/wiki'
|
2015-09-25 12:07:36 +05:30
|
|
|
|
2019-12-04 20:38:33 +05:30
|
|
|
.wiki-page-header.top-area.flex-column.flex-lg-row
|
2022-07-23 23:45:48 +05:30
|
|
|
%h1.page-title.gl-font-size-h-display.gl-flex-grow-1
|
2021-03-08 18:12:59 +05:30
|
|
|
= s_("Wiki|Wiki Pages")
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2019-12-04 20:38:33 +05:30
|
|
|
.nav-controls.pb-md-3.pb-lg-0
|
2021-01-03 14:25:43 +05:30
|
|
|
= link_to wiki_path(@wiki, action: :git_access), class: 'btn gl-button' do
|
2020-07-28 23:09:34 +05:30
|
|
|
= sprite_icon('download')
|
2019-12-04 20:38:33 +05:30
|
|
|
= _("Clone repository")
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2019-12-04 20:38:33 +05:30
|
|
|
.dropdown.inline.wiki-sort-dropdown
|
|
|
|
.btn-group{ role: 'group' }
|
2022-11-25 23:54:43 +05:30
|
|
|
= wiki_sort_controls(@wiki, params[:direction])
|
2019-07-07 11:18:12 +05:30
|
|
|
|
2019-12-04 20:38:33 +05:30
|
|
|
%ul.wiki-pages-list.content-list
|
2023-04-23 21:23:45 +05:30
|
|
|
- @wiki_entries.each do |entry|
|
|
|
|
= render partial: entry.to_partial_path, object: entry, locals: { context: 'pages' }
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2019-12-04 20:38:33 +05:30
|
|
|
= paginate @wiki_pages, theme: 'gitlab'
|