Commit cf68af92 authored by Daniel W Bond's avatar Daniel W Bond

breadcrumbs now serve as titles for housing-related pages, to eliminate duplication

parent bc6a6de9
......@@ -20,15 +20,11 @@
<div class="page-header" id="banner">
<div class="row">
<div class="col-lg-12 text-center">
<h1><strong>SRCT</strong>ROOMLIST</h1>
<p class="lead"><strong>{{ building.name }}</strong></p>
</div>
<div class="col-md-10 col-md-offset-1"><h3>
<div class="col-md-12"><h3>
<ol id="breadcrumb" class="breadcrumb">
<li><a href="{% url 'homepage' %}">Home</a></li>
<li><a href="{% url 'list_buildings' %}">Buildings</a></li>
<li class="active">{{ building.name }}</li>
<li class="active"><strong>{{ building.name }}</strong></li>
</ol>
</h3></div>
</div>
......
......@@ -7,16 +7,12 @@
<div class="page-header" id="banner">
<div class="row">
<div class="col-lg-12 text-center">
<h1><strong>SRCT</strong>ROOMLIST</h1>
<p class="lead"><strong>{{ floor.building.name }} {{ floor.number|ordinal }}</strong></p>
</div>
<div class="col-md-10 col-md-offset-1"></h3>
<div class="col-md-12"></h3>
<ol id="breadcrumbs" class="breadcrumb">
<li><a href="{% url 'homepage' %}">Home</a></li>
<li><a href="{% url 'list_buildings' %}">Buildings</a></li>
<li><a href="{{ floor.building.get_absolute_url }}">{{ floor.building.name }}</a></li>
<li class="active">{{ floor.number|ordinal }} Floor</li>
<li class="active"><strong>{{ floor.number|ordinal }} Floor</strong></li>
</ol>
</h3></div>
</div>
......
......@@ -7,17 +7,13 @@
<div class="page-header" id="banner">
<div class="row">
<div class="col-lg-12 text-center">
<h1><strong>SRCT</strong>ROOMLIST</h1>
<p class="lead"><strong>{{ room.floor.building.name }} {{ room.number }}</strong></p>
</div>
<div class="col-md-10 col-md-offset-1"><h3>
<div class="col-md-12"><h3>
<ol id="breadcrumbs" class="breadcrumb">
<li><a href="{% url 'homepage' %}">Home</a></li>
<li><a href="{% url 'list_buildings' %}">Buildings</a></li>
<li><a href="{{ room.floor.building.get_absolute_url }}">{{ room.floor.building.name }}</a></li>
<li><a href="{{ room.floor.get_absolute_url }}">{{ room.floor.number|ordinal }} Floor</a></li>
<li class="active">Room {{ room.number }}</li>
<li class="active"><strong>Room {{ room.number }}</strong></li>
</ol>
</h3></div>
</div>
......
......@@ -21,14 +21,10 @@
<div class="page-header" id="banner">
<div class="row">
<div class="col-lg-12 text-center">
<h1><strong>SRCT</strong>ROOMLIST</h1>
<p class="lead"><strong>Buildings</strong></p>
</div>
<div class="col-md-10 col-md-offset-1"><h3>
<div class="col-md-12"><h3>
<ol id="breadcrumb" class="breadcrumb">
<li><a href="{% url 'homepage' %}">Home</a></li>
<li class="active">Buildings</li>
<li class="active"><strong>Buildings</strong></li>
</ol>
</h3></div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment