give advice in person

master
fefa4ka 10 years ago
parent 07969e2e53
commit cd8ecaf657
  1. 9
      zsite/static/less/consultation.less
  2. 15
      zsite/templates/aldryn_people/includes/people_item.html

@ -31,7 +31,7 @@
.btn-consultation:extend(.btn-default, .btn-xs) {}
}
.content, .consultation-person {
.content, .consultation-person, .people-detail {
.btn-consultation:extend(.btn-primary) {
@media (min-width: 0) {
.btn-xs;
@ -59,3 +59,10 @@
margin-left: -36px;
}
}
.people-detail {
.btn-consultation {
margin-bottom: 15px;
}
}

@ -1,8 +1,14 @@
{% load menu_tags aldryn_people_tags i18n thumbnail %}
{% load menu_tags aldryn_people_tags cms_tags i18n thumbnail %}
{% show_breadcrumb 2 %}
<div class="plugin-people row">
<script type="text/javascript">
var consultation = {
name: '{{ person.name }}'
};
</script>
<div class="plugin-people people-detail row">
<div class="col-sm-4">
{% if person.visual %}<p class="people-detail-visual">
<img src="{{ person.visual.url }}" alt="{{ person.name }}" />
@ -11,6 +17,11 @@
<div class="col-sm-8">
<h1>{{ person.name }}</h1>
<h4><em>{{ person.function }}</em></h4>
{% if person.id != 1 %}
{% static_placeholder 'person-consultation' %}
{% endif %}
{% if person.description %}<div class="people-desc">{{ person.description|safe }}</div>{% endif %}
{% if person.blog_post_author.all|length > 0 %}

Loading…
Cancel
Save