From 6182b43868adbba836fbcc840c89c8fc3468e0fb Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Thu, 24 Sep 2015 16:53:55 -0400 Subject: [PATCH] Link to snipt in API if public. --- snipts/templates/snipts/snipt-js-template.html | 3 +++ snipts/templates/snipts/snipt-list.html | 3 +++ 2 files changed, 6 insertions(+) diff --git a/snipts/templates/snipts/snipt-js-template.html b/snipts/templates/snipts/snipt-js-template.html index 3934477..793056f 100644 --- a/snipts/templates/snipts/snipt-js-template.html +++ b/snipts/templates/snipts/snipt-js-template.html @@ -86,6 +86,9 @@
  • Raw / Raw Nice + <% if (snipt.public) { %> + / API + <% } %>
  • diff --git a/snipts/templates/snipts/snipt-list.html b/snipts/templates/snipts/snipt-list.html index f907093..b151483 100644 --- a/snipts/templates/snipts/snipt-list.html +++ b/snipts/templates/snipts/snipt-list.html @@ -169,6 +169,9 @@
  • Raw / Raw Nice + {% if snipt.public %} + / API + {% endif %}
  • {% if detail and snipt.public %}