Commit 8527ab43 authored by Dainis Abols's avatar Dainis Abols
Browse files

View changes

parent 7613a12a
......@@ -14,6 +14,5 @@
</f:for>
</ul>
</div>
<br/> 
</html>
\ No newline at end of file
......@@ -4,7 +4,6 @@
<!-- Content part -->
<f:section name="content">
<section class="main">
<!-- Mini navigation -->
<f:if condition="{nav}">
<f:render partial="MiniNavigation" arguments="{nav:nav, settings:settings}"/>
......@@ -25,8 +24,19 @@
<!-- Main content list -->
<f:switch expression="{content.section}">
<f:case value="surname">
<f:render partial="Alphabet" arguments="{alphabet:alphabet, settings:settings}"/>
<f:render partial="UsersList" arguments="{content:content, settings:settings}"/>
<f:if condition="{content.persons}">
<f:then>
<f:render partial="Alphabet" arguments="{alphabet:alphabet, settings:settings}"/>
<f:render partial="UsersList" arguments="{content:content, settings:settings}"/>
</f:then>
<f:else>
<div class="error">
<p>
<f:translate key="view.no_contacts"/>
</p>
</div>
</f:else>
</f:if>
</f:case>
<f:case value="unit">
<f:render partial="UsersList" arguments="{content:content, settings:settings}"/>
......@@ -41,7 +51,6 @@
<f:render partial="BasicList" arguments="{content:content, settings:settings}"/>
</f:defaultCase>
</f:switch>
</div>
</section>
......
Supports Markdown
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