Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
071de30f
Commit
071de30f
authored
Nov 29, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix app theme being ignored for public projects
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
db0c353a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
app/assets/stylesheets/common.scss
app/assets/stylesheets/common.scss
+1
-0
app/views/layouts/public.html.haml
app/views/layouts/public.html.haml
+1
-1
app/views/layouts/public_projects.html.haml
app/views/layouts/public_projects.html.haml
+1
-1
No files found.
app/assets/stylesheets/common.scss
View file @
071de30f
...
...
@@ -350,6 +350,7 @@ table {
.navbar-gitlab
.navbar-inner
.nav
>
li
.btn-sign-in
{
@extend
.btn-new
;
padding
:
5px
15px
;
text-shadow
:
none
;
}
.broadcast-message
{
...
...
app/views/layouts/public.html.haml
View file @
071de30f
!!! 5
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
"Public Projects"
%body
{
class:
"
ui_mars
application"
,
:'data-page'
=>
body_data_page
}
%body
{
class:
"
#{app_theme}
application"
,
:'data-page'
=>
body_data_page
}
-
if
current_user
=
render
"layouts/head_panel"
,
title:
"Public Projects"
-
else
...
...
app/views/layouts/public_projects.html.haml
View file @
071de30f
!!! 5
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
@project
.
name_with_namespace
%body
{
class:
"
ui_mars
application"
,
:'data-page'
=>
body_data_page
}
%body
{
class:
"
#{app_theme}
application"
,
:'data-page'
=>
body_data_page
}
=
render
"layouts/public_head_panel"
%nav
.main-nav
.container
=
render
'layouts/nav/project'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment