Enable unit preview by default.

TNL-1261
This commit is contained in:
muzaffaryousaf
2015-04-27 11:33:08 +05:00
parent d60b4eed13
commit f5de0bbf43
11 changed files with 93 additions and 58 deletions

View File

@@ -69,13 +69,13 @@ from django.utils.translation import ugettext as _
<ul>
% if is_unit_page:
<li class="action-item action-view nav-item">
<a href="${published_preview_link}" class="button button-view action-button is-disabled" aria-disabled="true" rel="external">
<a href="${published_preview_link}" class="button button-view action-button is-disabled" aria-disabled="true" rel="external" title="${_('Open the courseware in the LMS')}">
<span class="action-button-text">${_("View Live Version")}</span>
</a>
</li>
<li class="action-item action-preview nav-item">
<a href="${draft_preview_link}" class="button button-preview action-button is-disabled" aria-disabled="true" rel="external">
<span class="action-button-text">${_("Preview Changes")}</span>
<a href="${draft_preview_link}" class="button button-preview action-button" rel="external" title="${_('Preview the courseware in the LMS')}">
<span class="action-button-text">${_("Preview")}</span>
</a>
</li>
% else:

View File

@@ -16,13 +16,13 @@
<ul>
% if is_unit_page:
<li class="action-item action-view nav-item">
<a href="${published_preview_link}" class="button button-view action-button is-disabled" aria-disabled="true">
<a href="${published_preview_link}" class="button button-view action-button is-disabled" aria-disabled="true" title="Open the courseware in the LMS">
<span class="action-button-text">View Live Version</span>
</a>
</li>
<li class="action-item action-preview nav-item">
<a href="${draft_preview_link}" class="button button-preview action-button is-disabled" aria-disabled="true">
<span class="action-button-text">Preview Changes</span>
<a href="${draft_preview_link}" class="button button-preview action-button" title="Preview the courseware in the LMS">
<span class="action-button-text">Preview</span>
</a>
</li>
% else:

View File

@@ -46,7 +46,7 @@
</li>
<li class="action-item action-preview nav-item">
<a href="#" class="button preview-button action-button">
<span class="action-button-text">Preview Changes</span>
<span class="action-button-text">Preview</span>
</a>
</li>
<!-- end publishing changes -->