Merge pull request #123 from ZeusWPI/about-fix

About fix
This commit is contained in:
lorin 2016-12-05 16:35:08 +01:00 committed by GitHub
commit 147fc28b07
3 changed files with 10 additions and 6 deletions

View file

@ -3,12 +3,7 @@ navigable: true
title: About
order: 0
---
<div class="subnav tabs">
<ul>
<li><a href="/about/statuten">Statuten</a></li>
<li class="is-disabled"><a>Historiek</a></li>
</ul>
</div>
<%= render '/partials/_about_sub_navbar.*', :selected => 'about' %>
<div class="content">
<h1>Over Zeus WPI</h1>

View file

@ -1,3 +1,4 @@
<%= render '/partials/_about_sub_navbar.*', :selected => 'statuten'%>
<div class="columns">
<div class="column is-1"></div>
<div class="column">

View file

@ -0,0 +1,8 @@
<div class="subnav tabs">
<ul>
<li class="<%= "is-active" if @selected == 'about'%>"><a href="/about">Over</a></li>
<li class="<%= "is-active" if @selected == 'statuten'%>"><a href="/about/statuten">Statuten</a></li>
<li class="is-disabled"><a>Historiek (soon)</a></li>
<li class="is-disabled"><a>Verslagen (soon)</a></li>
</ul>
</div>