Skip to content
Snippets Groups Projects
Commit 26ad2509 authored by Douwe Maan's avatar Douwe Maan
Browse files

Add a page title to every page.

parent f2cf6d75
No related branches found
No related tags found
No related merge requests found
Showing
with 17 additions and 0 deletions
- page_title @snippet.title, "Snippets"
%h3.page-title %h3.page-title
= @snippet.title = @snippet.title
   
Loading
Loading
- page_title "Tags"
= render "projects/commits/head" = render "projects/commits/head"
   
%h3.page-title %h3.page-title
Loading
Loading
- page_title "New tag"
- if @error - if @error
.alert.alert-danger .alert.alert-danger
%button{ type: "button", class: "close", "data-dismiss" => "alert"} × %button{ type: "button", class: "close", "data-dismiss" => "alert"} ×
Loading
Loading
- page_title @path.presence, @ref
= content_for :meta_tags do = content_for :meta_tags do
- if current_user - if current_user
= auto_discovery_link_tag(:atom, namespace_project_commits_url(@project.namespace, @project, @ref, format: :atom, private_token: current_user.private_token), title: "#{@project.name}:#{@ref} commits") = auto_discovery_link_tag(:atom, namespace_project_commits_url(@project.namespace, @project, @ref, format: :atom, private_token: current_user.private_token), title: "#{@project.name}:#{@ref} commits")
Loading
Loading
- page_title "Edit", @page.title, "Wiki"
= render 'nav' = render 'nav'
.pull-right .pull-right
= render 'main_links' = render 'main_links'
Loading
Loading
- page_title "Wiki"
%h3.page-title Empty page %h3.page-title Empty page
%hr %hr
.error_message .error_message
Loading
Loading
- page_title "Git access", "Wiki"
= render 'nav' = render 'nav'
.row .row
.col-sm-6 .col-sm-6
Loading
Loading
- page_title "History", @page.title, "Wiki"
= render 'nav' = render 'nav'
%h3.page-title %h3.page-title
%span.light History for %span.light History for
Loading
Loading
- page_title "All Pages", "Wiki"
= render 'nav' = render 'nav'
%h3.page-title %h3.page-title
All Pages All Pages
Loading
Loading
- page_title @page.title, "Wiki"
= render 'nav' = render 'nav'
%h3.page-title %h3.page-title
= @page.title = @page.title
Loading
Loading
- page_title @search_term
= render 'search/form' = render 'search/form'
%hr %hr
- if @search_term - if @search_term
Loading
Loading
- page_title "Your Snippets"
%h3.page-title %h3.page-title
Your Snippets Your Snippets
.pull-right .pull-right
Loading
Loading
- page_title "Edit", @snippet.title, "Snippets"
%h3.page-title %h3.page-title
Edit snippet Edit snippet
%hr %hr
Loading
Loading
- page_title "Public Snippets"
%h3.page-title %h3.page-title
Public snippets Public snippets
   
Loading
Loading
- page_title "New snippet"
%h3.page-title %h3.page-title
New snippet New snippet
%hr %hr
Loading
Loading
- page_title @snippet.title, "Snippet"
%h3.page-title %h3.page-title
= @snippet.title = @snippet.title
   
Loading
Loading
- page_title "Snippets", @user.name
%h3.page-title %h3.page-title
= image_tag avatar_icon(@user.email), class: "avatar s24" = image_tag avatar_icon(@user.email), class: "avatar s24"
= @user.name = @user.name
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment