#1815 - The Page view: Edit | Draft Site | Published shouldn't show when it's not relevant (merged from branches/2.2.0@45907, r44977)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@46116 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2007-12-02 21:37:28 +00:00
parent 59c8237efd
commit 1ec701d849

View File

@ -54,13 +54,11 @@
<div id="switchView" class="bottomTabs">
<% if class = CMSMain %>
<div class="blank"> <% _t('VIEWPAGEIN','Page view:') %> </div>
<% else %>
<div class="blank"> <% _t('SWITCHTO','Switch to:') %> </div>
<% end_if %>
<span class="current" title="Edit this page in the CMS"><% _t('EDIT','Edit') %></span>
| <a id="viewStageSite" title="View the Page in the Draft Site" href="home/?stage=Stage"><% _t('DRAFTS','Draft Site') %></a>
| <a id="viewLiveSite" title="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>
</div>