summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/sheet_organization.html
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/templates/ishtar/sheet_organization.html')
-rw-r--r--ishtar_common/templates/ishtar/sheet_organization.html22
1 files changed, 13 insertions, 9 deletions
diff --git a/ishtar_common/templates/ishtar/sheet_organization.html b/ishtar_common/templates/ishtar/sheet_organization.html
index 403eb7dec..483a97ef1 100644
--- a/ishtar_common/templates/ishtar/sheet_organization.html
+++ b/ishtar_common/templates/ishtar/sheet_organization.html
@@ -1,18 +1,22 @@
{% extends "ishtar/sheet.html" %}
-{% load i18n window_header window_tables %}
+{% load i18n window_header window_field window_tables %}
-{% block head_title %}{% trans "Organization" %}{% endblock %}
+{% block head_title %}{% trans "Organization:" %} {{item.name}}{% endblock %}
-{% block content %}
+{% block toolbar %}
{% window_nav item window_id 'show-organization' 'organization_modify' %}
-<p><label>{% trans "Name" %}</label> <span class='value'>{{item.name}}</span></p>
-<p><label>{%trans "Created by:"%}</label> <span class='value'>{{ item.history_creator.ishtaruser.person }}</span></p>
-{% include "ishtar/blocks/sheet_address_section.html" %}
-{% if item.phone %}<p><label>{% trans "Phone" %}</label> <span class='value'>{{item.phone}}</span></p> {% endif %}
-{% if item.mobile_phone %}<p><label>{% trans "Mobile phone" %}</label> <span class='value'>{{item.mobile_phone}}</span></p> {% endif %}
+{% endblock %}
+{% block content %}
+<div class="row">
+ {% field_flex "Name" item.name %}
+ {% field_flex_detail "Created by" item.history_creator.ishtaruser.person %}
+ {% include "ishtar/blocks/sheet_address_section.html" %}
+ {% field_flex "Phone" item.phone %}
+ {% field_flex "Mobile phone" item.mobile_phone %}
+</div>
-<table class='simple'>
+<table class='table table-striped'>
<caption>{%trans "Person in the organization"%}</caption>
<tr>
<th>{% trans "Name" %}</th>