Added info of viewcount in datail

This commit is contained in:
Keith 2017-01-17 13:43:58 +08:00
parent a4b587a86b
commit e6852a91ad
3 changed files with 6 additions and 0 deletions

View File

@ -62,6 +62,10 @@
<tr class="footable-row-detail"> <tr class="footable-row-detail">
<td class="footable-cell-detail" colspan="6"> <td class="footable-cell-detail" colspan="6">
<div id="<%= "#{b.id.to_s}-detail" %>" class="footable-row-detail-inner" style="display: none;"> <div id="<%= "#{b.id.to_s}-detail" %>" class="footable-row-detail-inner" style="display: none;">
<div>
<strong><%= t(:view_count) %></strong> :
<span class="label label-info"><%= b.view_count %></span>
</div>
<div> <div>
<strong><%= t(:tags) %></strong> : <strong><%= t(:tags) %></strong> :
<% b.tags.each do |tag| %> <% b.tags.each do |tag| %>

View File

@ -67,6 +67,7 @@ en:
email_sentdate: Email Time email_sentdate: Email Time
email_to: Email To email_to: Email To
mail_subject: this is an announcement reminder from【%{site_title}】 mail_subject: this is an announcement reminder from【%{site_title}】
view_count: View Counts
other_mailaddress: Other Email other_mailaddress: Other Email
other_mailaddress_note: Divide different email accounts with "," other_mailaddress_note: Divide different email accounts with ","
mail_hi: Hi mail_hi: Hi

View File

@ -69,6 +69,7 @@ zh_tw:
activate_email_reminder: 開啟寄送提醒 activate_email_reminder: 開啟寄送提醒
email_sentdate: 寄送時間 email_sentdate: 寄送時間
email_to: 寄送對象 email_to: 寄送對象
view_count: 瀏覽人次
other_mailaddress: 其他Mail other_mailaddress: 其他Mail
other_mailaddress_note: 輸入多組mail時,請用","逗號隔開 other_mailaddress_note: 輸入多組mail時,請用","逗號隔開
mail_subject: 來自【%{site_title}】的公告事件提醒 mail_subject: 來自【%{site_title}】的公告事件提醒