Commit 142fd2c11d434bdd7ff26bef746fb583b2df892a
1 parent
827a0018
Exists in
master
and in
4 other branches
move promo section in shared partial
Showing
4 changed files
with
7 additions
and
12 deletions
Show diff stats
app/views/dashboard/_sidebar.html.haml
app/views/groups/show.html.haml
... | ... | @@ -23,10 +23,7 @@ |
23 | 23 | News Feed |
24 | 24 | |
25 | 25 | %hr |
26 | - .gitlab-promo | |
27 | - = link_to "Homepage", "http://gitlabhq.com" | |
28 | - = link_to "Blog", "http://blog.gitlabhq.com" | |
29 | - = link_to "@gitlabhq", "https://twitter.com/gitlabhq" | |
26 | + = render 'shared/promo' | |
30 | 27 | |
31 | 28 | :javascript |
32 | 29 | $(function(){ Pager.init(20, true); }); | ... | ... |
app/views/teams/show.html.haml
... | ... | @@ -22,10 +22,7 @@ |
22 | 22 | News Feed |
23 | 23 | |
24 | 24 | %hr |
25 | - .gitlab-promo | |
26 | - = link_to "Homepage", "http://gitlabhq.com" | |
27 | - = link_to "Blog", "http://blog.gitlabhq.com" | |
28 | - = link_to "@gitlabhq", "https://twitter.com/gitlabhq" | |
25 | + = render 'shared/promo' | |
29 | 26 | |
30 | 27 | :javascript |
31 | 28 | $(function(){ Pager.init(20, true); }); | ... | ... |