Skip to content

Commit

Permalink
Detect
Browse files Browse the repository at this point in the history
  • Loading branch information
jlukic committed Feb 20, 2017
1 parent f72673e commit 3034d0d
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions server/partials/header.html.eco
Original file line number Diff line number Diff line change
Expand Up @@ -180,18 +180,17 @@
</div>

<% if 'development' in @getEnvironments(): %>
<div class="ui vertical beg transition hidden segment">
<i class="large red delete link icon"></i>
<div class="ui red header">
<i class="disabled warning sign icon"></i>
<div class="content">
Want to Support Open Source? Whitelist Your Ad-Blocker.
<div class="sub header">
We promise to not show more than one small ad per page. Dont worry, hiding this message will make sure you won't get nagged again.
<% else: %>
<div class="ui vertical beg transition hidden segment">
<i class="large red delete link icon"></i>
<div class="ui red header">
<i class="disabled warning sign icon"></i>
<div class="content">
Want to Support Open Source? Whitelist Your Ad-Blocker.
<div class="sub header">
We promise to not show more than one small ad per page. Dont worry, hiding this message will make sure you won't get nagged again.
</div>
</div>
</div>
</div>
</div>
<% else: %>

<% end %>

0 comments on commit 3034d0d

Please sign in to comment.