Only display the forkme on GitHub gibbon when demo is on

master
Daniel Berteaud 10 years ago
parent fd1f38ebc5
commit 2c2200559b
  1. 2
      templates/default/public_toolbar.html.ep

@ -1,7 +1,9 @@
<nav class="navbar navbar-default" role="navigation"> <nav class="navbar navbar-default" role="navigation">
<% if ($config->{'interface.demo'}){ %>
<a href="https://github.com/dani/vroom"> <a href="https://github.com/dani/vroom">
<img id="forkMeRibbon" src="<%= $self->get_url('/') %>img/fork_me_on_gh.png" alt="Fork me on GitHub" class="hidden-xs"/> <img id="forkMeRibbon" src="<%= $self->get_url('/') %>img/fork_me_on_gh.png" alt="Fork me on GitHub" class="hidden-xs"/>
</a> </a>
<% } %>
<div class="container-fluid"> <div class="container-fluid">
<div class="navbar-header"> <div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#toolBar"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#toolBar">

Loading…
Cancel
Save