link.mustache 588 B

12345678910111213141516
  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">{{#tags}}
  5. <span class="tag"><a href="{{url}}">{{name}}</a></span>
  6. {{/tags}}</div>
  7. <div class="datetime">
  8. <a href="{{link_url}}">{{created}}</a>
  9. {{#is_mine}}
  10. <a href="{{link_url}}/edit">edit</a>
  11. <span id="delete_{{id}}">
  12. <a class="deletelink" onClick="confirmDelete('{{link_url}}', {{id}})" >delete</a>
  13. </span>
  14. {{/is_mine}}
  15. </div>
  16. </div>