Skip to content

Instantly share code, notes, and snippets.

@gnunicorn
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save gnunicorn/8a28968b020f7bb4a15e to your computer and use it in GitHub Desktop.
Save gnunicorn/8a28968b020f7bb4a15e to your computer and use it in GitHub Desktop.
b61f24d89806d16ef6e980c10a068434:
path: 5
---
{{#if Discourse.Mobile.mobileView}}
{{adsenseBlock "320" "50" "topic_bottom_mobile"}}
{{else}}
{{adsenseBlock "728" "90" "topic_bottom"}}
{{/if}}
b61f24d89806d16ef6e980c10a068434:
path: if[1] if-else if [0]
---
{{#if Discourse.Mobile.mobileView}}
{{adsenseBlock "320" "50" "topic_bottom_mobile"}}
{{else}}
{{adsenseBlock "728" "90" "topic_bottom"}}
{{/if}}
b61f24d89806d16ef6e980c10a068434:
path: if if if-else if[2]
shift: 1
061dd3942f735486fbc91b5c7dfcf7a6:
path: if if if-else if[2]
shift: 1
---
{{#if model.tags}}
<div class="tagger-tags-view">
<span>tagged:</span>
{{#each model.tags}}
<a href="/tag/{{unbound this}}" class="tagger-tag">{{this}}</a>
{{/each}}
</div>
{{/if}}
b61f24d89806d16ef6e980c10a068434:
path: if if if[1] [8]
shift: 1
061dd3942f735486fbc91b5c7dfcf7a6:
path: if if if[1] [8]
shift: 1
---
<div class="tagger-tags-view">
<label>Tags:</label>
{{#if new_tags}}
{{#each new_tags}}
<span class="tagger-tag" >{{this}} <i {{action removeTag this }} class="fa fa-times"></i></span>
{{/each}}
{{/if}}
{{tags-selector tags=new_tags}}
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment