link.mustache 605 B

1234567891011121314151617
  1. <div id="link_{{id}}" class="link{{#private}} private{{/private}}">
  2. <div class="text"><a href="{{url}}">{{name}}</a></div>
  3. <div class="url"><a href="{{url}}">{{url}}</a></div>
  4. <div class="taglist">{{{ hier_tags }}}</div>
  5. <div class="datetime">
  6. <a href="{{link_url}}">{{created}}</a>
  7. {{#is_mine}}
  8. <a href="{{link_url}}/edit">edit</a>
  9. <span id="delete_{{id}}">
  10. <a class="deletelink" data-url="{{link_url}}" data-link-id="{{id}}">delete</a>
  11. </span>
  12. {{/is_mine}}
  13. {{^is_mine}}
  14. &mdash; <a href="/u/{{user}}">@{{user}}</a>
  15. {{/is_mine}}
  16. </div>
  17. </div>