Commit 9a256378dd6d83f7db5ede730c0bb0202c9f21ef
1 parent
859706a7
Exists in
master
and in
2 other branches
Visualize new updated
Showing
1 changed file
with
20 additions
and
5 deletions
Show diff stats
news/templates/news/view.html
... | ... | @@ -4,8 +4,7 @@ |
4 | 4 | |
5 | 5 | {% block breadcrumbs %} |
6 | 6 | {{ block.super }} |
7 | - {% trans 'Visualize News' as visualize_news %} | |
8 | - {% breadcrumb visualize_news 'news:view' %} | |
7 | + {% breadcrumb new.title 'news:view' %} | |
9 | 8 | {% endblock %} |
10 | 9 | |
11 | 10 | {% block render_breadcrumbs %} |
... | ... | @@ -26,8 +25,24 @@ |
26 | 25 | </script> |
27 | 26 | {% endfor %} |
28 | 27 | {% endif %} |
28 | +<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 "> | |
29 | + <div class="col-lg-12 row-fluid panel panel-default"> | |
30 | + <div class="panel-body"> | |
31 | + <div class="col-md-12" style="display:inline-block"> | |
32 | + <h2><b>{{new.title}}</b></h2> | |
33 | + <p>{{new.creator}}, em {{new.create_date}}</p> | |
34 | + </div> | |
35 | + <div class="col-md-12"> | |
36 | + <br> | |
37 | + {% autoescape off %} | |
38 | + {{new.content}} | |
39 | + {% endautoescape %} | |
40 | + </div> | |
29 | 41 | |
30 | -{{new.title}} | |
31 | -<br>{{new.creator}} | |
32 | -<br>{{new.create_date}} | |
42 | + </div> | |
43 | + | |
44 | + </div> | |
45 | + | |
46 | + | |
47 | +</div> | |
33 | 48 | {% endblock %} | ... | ... |