Permalink
Browse files

BUGFIX: removed doubled up pipes and border on switch view links in f…

…ooter.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@71797 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent e17d88d commit c17bc65432342a7d1122e474401791ae185185ad James Kirkus-Lamont committed with sminnee Feb 12, 2009
Showing with 10 additions and 6 deletions.
  1. +8 −4 css/layout.css
  2. +2 −2 templates/LeftAndMain.ss
View
@@ -293,12 +293,16 @@ body.stillLoading select {
#bottom #switchView {
float: left;
}
- #bottom #switchView a {
+ #bottom #switchView a, #bottom #switchView span {
background: none;
- margin-left: 8px;
- border-left: 1px solid;
+ padding-left: 8px;
+ padding-right: 8px;
+ display: inline-block;
+ border-left: 1px solid #AAA;
+ }
+ #bottom #switchView span {
+ border-left: none;
}
-
#bottom .bottomTabs a {
color: #fff;
}
View
@@ -49,8 +49,8 @@
<% if ShowSwitchView %>
<div class="blank"> <% _t('VIEWPAGEIN','Page view:') %> </div>
<span class="current" title="<% _t('EDITINCMS', 'Edit this page in the CMS') %>"><% _t('EDIT','Edit') %></span>
- | <a id="viewStageSite" title="<% _t('VIEWINDRAFT', 'View the Page in the Draft Site') %>" href="home/?stage=Stage"><% _t('DRAFTS','Draft Site') %></a>
- | <a id="viewLiveSite" title="<% _t('VIEWINPUBLISHED', 'View the Page in the Published Site') %>" href="home/?stage=Live"><% _t('PUBLIS','Published Site') %></a>
+ <a id="viewStageSite" title="<% _t('VIEWINDRAFT', 'View the Page in the Draft Site') %>" href="home/?stage=Stage"><% _t('DRAFTS','Draft Site') %></a>
+ <a id="viewLiveSite" title="<% _t('VIEWINPUBLISHED', 'View the Page in the Published Site') %>" href="home/?stage=Live"><% _t('PUBLIS','Published Site') %></a>
<a style="display: none; margin-left: 20px;" id="viewArchivedSite" href="home/"><% _t('ARCHS','Archived Site') %></a>
<% end_if %>
</div>

0 comments on commit c17bc65

Please sign in to comment.