Sha256: 0d512da47f9f88bfb68014506e5d9187a1ac76532381dfc84a3484f6e96962de
Contents?: true
Size: 1.28 KB
Versions: 2
Compression:
Stored size: 1.28 KB
Contents
<% title_tag [@note.title, t('plugin.note')].join(' · ') %> <div class="row"> <div class="col-sm-9"> <div id="notes" class="panel panel-default"> <div class="panel-heading clearfix"> <div class="info"> 共 <%= @note.word_count %> 个字符 • <%= user_name_tag(@note.user) if !owner? @note %> <%= l @note.created_at, format: :long %> • <%= @note.hits %> 次阅读 • <%= @note.changes_count %> 次修改 <% if owner? @note %> <span class="opts pull-right"> <%= link_to icon_tag("pencil"), edit_note_path(@note), title: "编辑" %> <%= link_to icon_tag("trash"), note_path(@note), 'data-confirm' => "确定要删除么?", method: :delete %> </span> <% end %> </div> <% if @note.publish %> <div class="links"> <label>页面链接</label> <%= note_url(@note) %> </div> <% end %> </div> <div class="panel-body"> <% if !@note.publish %> <i class="fa fa-lock text-success pull-right" title="此内容保密"></i> <% end %> <div class="markdown"> <%= markdown(@note.body) %> </div> </div> </div> </div> <%= render "sidebar" %> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
homeland-note-0.1.3 | app/views/homeland/note/notes/show.html.erb |
homeland-note-0.1.2 | app/views/homeland/note/notes/show.html.erb |