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 23 additions and 3 deletions
- page_title "Users"
= render 'shared/show_aside'
 
.row
Loading
Loading
- page_title "New user"
%h3.page-title
New user
%hr
Loading
Loading
- page_title @user.name, "Users"
%h3.page-title
User:
= @user.name
Loading
Loading
- page_title "Groups"
%h3.page-title
Group Membership
- if current_user.can_create_group?
Loading
Loading
- page_title "Issues"
= content_for :meta_tags do
- if current_user
= auto_discovery_link_tag(:atom, issues_dashboard_url(format: :atom, private_token: current_user.private_token), title: "#{current_user.name} issues")
Loading
Loading
- page_title "Merge Requests"
%h3.page-title
Merge Requests
 
Loading
Loading
- page_title "Milestones"
%h3.page-title
Milestones
%span.pull-right #{@dashboard_milestones.count} milestones
Loading
Loading
- page_title @dashboard_milestone.title, "Milestones"
%h4.page-title
.issue-box{ class: "issue-box-#{@dashboard_milestone.closed? ? 'closed' : 'open'}" }
- if @dashboard_milestone.closed?
Loading
Loading
- page_title "Starred Projects"
- if @projects.any?
= render 'shared/show_aside'
 
Loading
Loading
- page_title "Sign up"
= render 'devise/shared/signup_box'
 
= render 'devise/shared/sign_in_link'
\ No newline at end of file
= render 'devise/shared/sign_in_link'
- page_title "Sign in"
%div
- if signin_enabled? || ldap_enabled?
= render 'devise/shared/signin_box'
Loading
Loading
- page_title "Edit", @application.name, "Applications"
%h3.page-title Edit application
= render 'form', application: @application
\ No newline at end of file
= render 'form', application: @application
- page_title "Applications"
%h3.page-title Your applications
%p= link_to 'New Application', new_oauth_application_path, class: 'btn btn-success'
%table.table.table-striped
Loading
Loading
@@ -13,4 +14,4 @@
%td= link_to application.name, oauth_application_path(application)
%td= application.redirect_uri
%td= link_to 'Edit', edit_oauth_application_path(application), class: 'btn btn-link'
%td= render 'delete_form', application: application
\ No newline at end of file
%td= render 'delete_form', application: application
- page_title @application.name, "Application"
%h3.page-title
Application: #{@application.name}
 
Loading
Loading
- page_title "Access Denied"
%h1 403
%h3 Access Denied
%hr
Loading
Loading
- page_title "Encoding Error"
%h1 500
%h3 Encoding Error
%hr
Loading
Loading
- page_title "Git Resource Not Found"
%h1 404
%h3 Git Resource Not found
%hr
Loading
Loading
- page_title "Not Found"
%h1 404
%h3 The resource you were looking for doesn't exist.
%hr
Loading
Loading
- page_title "Auth Error"
%h1 422
%h3 Sign-in using #{@provider} auth failed
%hr
Loading
Loading
- page_title "Groups"
.clearfix
.pull-left
= form_tag explore_groups_path, method: :get, class: 'form-inline form-tiny' do |f|
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