Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
roomlist
Commits
cf68af92
Commit
cf68af92
authored
May 23, 2017
by
Daniel W Bond
Browse files
breadcrumbs now serve as titles for housing-related pages, to eliminate duplication
parent
bc6a6de9
Changes
4
Hide whitespace changes
Inline
Side-by-side
roomlist/housing/templates/detail_building.html
View file @
cf68af92
...
...
@@ -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>
...
...
roomlist/housing/templates/detail_floor.html
View file @
cf68af92
...
...
@@ -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>
...
...
roomlist/housing/templates/detail_room.html
View file @
cf68af92
...
...
@@ -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>
...
...
roomlist/housing/templates/list_buildings.html
View file @
cf68af92
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment