hide 'View Live' button if no units have been published
This commit is contained in:
@@ -95,7 +95,9 @@
|
||||
<div class="row unit-actions">
|
||||
<a href="#" class="save-button save-subsection" data-id="${subsection.location}">Save</a>
|
||||
<a href="${preview_link}" target="_blank" class="preview-button">Preview Drafts</a>
|
||||
%if can_view_live:
|
||||
<a href="${lms_link}" target="_blank" class="preview-button">View Live</a>
|
||||
%endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user