2017-07-10 21:27:50 +08:00
|
|
|
<div class="modal" id="aboutModal" tabindex="-1" role="dialog" aria-labelledby="aboutModal" data-role="about-modal">
|
|
|
|
<div class="modal-dialog" role="document">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
|
|
<h4 class="modal-title"><%= t('about.modal_title') %></h4>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<strong><%= t('about.core_version') %></strong>
|
|
|
|
<br />
|
|
|
|
<%= Scinote::Application::VERSION %>
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<div data-hook="about-modal-addon-versions">
|
2018-01-16 18:11:50 +08:00
|
|
|
<% if list_all_addons.any? %>
|
|
|
|
<strong><%= t('about.addon_versions') %></strong>
|
2017-07-10 21:27:50 +08:00
|
|
|
<br />
|
2018-01-16 18:11:50 +08:00
|
|
|
<% list_all_addons.each do |addon| %>
|
|
|
|
<%= "#{addon.name}:" %>
|
|
|
|
<br />
|
|
|
|
<%= addon::VERSION %>
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<% end %>
|
2017-07-10 21:27:50 +08:00
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-01-16 18:11:50 +08:00
|
|
|
</div>
|