Commit 814da1a7 authored by Pierre Arnaud's avatar Pierre Arnaud

Resize column in organisme pages

parent 5a638af1
......@@ -20,20 +20,20 @@ ${parent.page_header()}
</div>
<div class="row">
## <div class="field">
<div class="col-md-3">
<div class="col-md-2">
<b>${_("Last update")} :</b>
</div>
<div class="col-md-9">
<div class="col-md-10">
<span>${result["updated"]}</span>
</div>
</div>
<div class="row">
% if "appli_web" in result:
## <div class="field">
<div class="col-md-3">
<div class="col-md-2">
<b>${_("Website")}</b>
</div>
<div class="col-md-9">
<div class="col-md-10">
<a class="btn btn-primary btn-sm" rel="tooltip" target="_blank" title="${_("Transport offer website.")}" href="${result["appli_web"]}">www</a>
</div>
% endif
......@@ -41,10 +41,10 @@ ${parent.page_header()}
<div class="row">
% if "appli_iphone" in result or "appli_android" in result:
## <div class="field">
<div class="col-md-3">
<div class="col-md-2">
<b>${_("Mobile applications")} (${result["name"]}) :</b>
</div>
<div class="col-md-9">
<div class="col-md-10">
% if "appli_iphone" in result:
<a class="btn btn-primary btn-sm" rel="tooltip" target="_blank" title="${_("Mobile applications")} - iPhone" href="${result["appli_iphone"]}">${_("Mobile applications")} - iPhone</a>
% endif
......@@ -60,8 +60,8 @@ ${parent.page_header()}
</div>
<div class="row">
## <div class="field">
<div class="col-md-3"><b>${_("Covered Territory")} : </b></div>
<div class="col-md-9">
<div class="col-md-2"><b>${_("Covered Territory")} : </b></div>
<div class="col-md-10">
% if "covered" in result:
${result["covered"]}
% else:
......@@ -71,12 +71,18 @@ ${parent.page_header()}
## </div>
</div>
<br>
<b>${_("Transport Offers : ")} </b>
<div class="row">
<div class="col-md-2">
<b>${_("Transport Offers : ")} </b>
</div>
<div class="col-md-10">
% if "transport" in result and len(result["transport"]) > 5:
<button type="button" class="btn btn-xs btn-primary" data-toggle="collapse" data-target="#transport-offers-toggle">
<i class="fa fa-plus icon-white"></i> ${_("List")}
</button>
% endif
</div>
</div>
% if "transport" in result:
% if len(result["transport"]) > 5:
<div id="transport-offers-toggle" class="collapse">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment