2014-05-06 09:20:15 +00:00
|
|
|
<% data = action_data %>
|
2021-11-22 03:20:57 +00:00
|
|
|
<% if data["view_count"].to_i > 0 %>
|
2015-04-13 06:13:41 +00:00
|
|
|
<div class="view_count pull-right">
|
|
|
|
<i class="fa fa-eye"><%= data["view-count-head"] %>:</i>
|
2021-11-23 03:53:23 +00:00
|
|
|
<span class="view-count"><%= data["view_count"]+(Site.first.view_count_start||0 rescue 0) %></span>
|
2015-04-13 06:13:41 +00:00
|
|
|
</div>
|
2021-11-22 03:20:57 +00:00
|
|
|
<% end %>
|
2020-11-19 06:46:52 +00:00
|
|
|
<style>
|
|
|
|
h3.page-module-title br {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
</style>
|
2020-11-19 06:42:36 +00:00
|
|
|
<h3 class="page-module-title"><%= data["title"].html_safe %></h3>
|
2015-04-13 06:13:41 +00:00
|
|
|
|
2019-11-28 08:30:45 +00:00
|
|
|
<%= data["html"].html_safe unless data["html"].nil? %>
|
2014-08-05 06:45:30 +00:00
|
|
|
|
|
|
|
<% if !data["url_to_edit"].blank? %>
|
|
|
|
<p class='admin-edit text-right'><a class='btn btn-primary' href='<%= data["url_to_edit"] %>'><i class='icon-edit'></i> <%= t(:edit) %></a></p>
|
2019-11-28 08:30:45 +00:00
|
|
|
<% end %>
|