Skip to content
Snippets Groups Projects
Commit fb081ec0 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Adding the illustration caption to the message detail site

parent 2f2bce3f
Branches
No related tags found
No related merge requests found
...@@ -138,6 +138,13 @@ a.dropdown-toggle{ ...@@ -138,6 +138,13 @@ a.dropdown-toggle{
div.messages_illustration{ div.messages_illustration{
} }
div.messages_illustration_caption{
padding-top: 5px;
color: #333;
line-height: 130%;
font-size: 95%;
font-weight: 300;
}
/* Styles for OpenLayers forecast map */ /* Styles for OpenLayers forecast map */
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
<div class="col-md-9 singleBlockContainer"> <div class="col-md-9 singleBlockContainer">
{% if message.illustration_file_name %} {% if message.illustration_file_name %}
<div class="messages_illustration"><img src="{{message.get_illustration_url}}" class="img-responsive"/></div> <div class="messages_illustration"><img src="{{message.get_illustration_url}}" class="img-responsive"/></div>
<div class="messages_illustration_caption">{{message.illustration_caption}}</div>
{% endif %} {% endif %}
<h1>{{ message.heading }}</h1> <h1>{{ message.heading }}</h1>
<p class="byline">{{message.date_pub | date:"Y-m-d"}} / {{message.created_by}}</p> <p class="byline">{{message.date_pub | date:"Y-m-d"}} / {{message.created_by}}</p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment