Restyled error messages in common way. Added title to head partial
This commit is contained in:
parent
d8f825ef00
commit
c873cf81f6
17 changed files with 56 additions and 113 deletions
|
@ -2,7 +2,7 @@
|
|||
%meta{charset: "utf-8"}
|
||||
%title
|
||||
GitLab
|
||||
= " > #{@project.name}" if @project && !@project.new_record?
|
||||
= " > #{title}" if defined?(title)
|
||||
= favicon_link_tag 'favicon.ico'
|
||||
= stylesheet_link_tag "application"
|
||||
= javascript_include_tag "application"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
!!! 5
|
||||
%html{ lang: "en"}
|
||||
= render "layouts/head"
|
||||
= render "layouts/head", title: "Admin area"
|
||||
%body{class: "#{app_theme} admin"}
|
||||
= render "layouts/flash"
|
||||
= render "layouts/head_panel", title: "Admin area"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
!!! 5
|
||||
%html{ lang: "en"}
|
||||
= render "layouts/head"
|
||||
= render "layouts/head", title: "Dashboard"
|
||||
%body{class: "#{app_theme} application"}
|
||||
= render "layouts/flash"
|
||||
= render "layouts/head_panel", title: "Dashboard"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
!!! 5
|
||||
%html{ lang: "en"}
|
||||
= render "layouts/head"
|
||||
= render "layouts/head", title: "Error"
|
||||
%body{class: "#{app_theme} application"}
|
||||
= render "layouts/flash"
|
||||
= render "layouts/head_panel", title: ""
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
!!! 5
|
||||
%html{ lang: "en"}
|
||||
= render "layouts/head"
|
||||
= render "layouts/head", title: "#{@group.name}"
|
||||
%body{class: "#{app_theme} application"}
|
||||
= render "layouts/flash"
|
||||
= render "layouts/head_panel", title: "#{@group.name}"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
!!! 5
|
||||
%html{ lang: "en"}
|
||||
= render "layouts/head"
|
||||
= render "layouts/head", title: "Profile"
|
||||
%body{class: "#{app_theme} profile"}
|
||||
= render "layouts/flash"
|
||||
= render "layouts/head_panel", title: "Profile"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
!!! 5
|
||||
%html{ lang: "en"}
|
||||
= render "layouts/head"
|
||||
= render "layouts/head", title: @project.name
|
||||
%body{class: "#{app_theme} project"}
|
||||
= render "layouts/flash"
|
||||
= render "layouts/head_panel", title: @project.name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue