Sha256: 3d2fef3c8fffb7fd1984d7c22984e50426dc4bc6b19a85e465a70f01dce01352
Contents?: true
Size: 1.7 KB
Versions: 9
Compression:
Stored size: 1.7 KB
Contents
<a href="javascript:void(0);" class="navbar-link"> Publishing <span class="publishing-status"> <% if current_site.repository.changes.total > 0 %> <span class="ml-2 tag is-danger">Updates</span> <% elsif !current_site.remote_is_up_to_date? %> <span data-controller="building" data-building-path="<%= yarii_editor.remote_is_up_to_date_path %>" class="ml-2 tag is-warning">Building…</span> <% end %> </span> </a> <div class="navbar-dropdown is-boxed"> <% if current_site.repository.changes.total > 0 %> <a data-controller="push-to-public" data-action="push-to-public#open" href="<%= yarii_editor.commit_publish_path %>" class="navbar-item is-size-6 has-text-weight-bold"> Push Updates to Public </a> <hr class="navbar-divider" /> <a href="javascript:alert('To Be Implemented…')" class="navbar-item"> Compare Changes </a> <% else %> <a href="javascript:void(0)" class="navbar-item is-italic"> All Up to Date! </a> <% end %> <a href="javascript:alert('To Be Implemented…')" class="navbar-item"> Push History </a> <hr class="navbar-divider" /> <div class="navbar-item has-text-weight-bold is-size-8"> Last Push: <%= current_site.repository.git.log.first.date.in_time_zone.strftime('%B %-d, %Y') %> </div> <hr class="navbar-divider" /> <a href="<%= current_site.preview_base_url %>" target="_blank" class="navbar-item"> <span>Open Preview Website</span> <span class="icon"><i class="fa fa-external-link"></i></span> </a> <a href="<%= current_site.published_base_url %>" target="_blank" class="navbar-item"> <span>Open Public Website</span> <span class="icon"><i class="fa fa-external-link"></i></span> </a> </div>
Version data entries
9 entries across 9 versions & 1 rubygems