BUGFIX: removed doubled up pipes and border on switch view links in footer.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@71797 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
James Kirkus-Lamont 2009-02-12 09:46:49 +00:00 committed by Sam Minnee
parent e17d88dcc3
commit c17bc65432
2 changed files with 10 additions and 6 deletions

View File

@ -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 File

@ -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>