{% load staff_books_link russian %} {% if bi.location_staff %} {% if bi.is_tablebook %}{% endif %} {% staff_books_link bi.location_staff %} {% if bi.office %} - {{ bi.office.short_name }}{% if bi.from_date and not bi.is_tablebook %},{% endif %} {% endif %} {% if bi.from_date and not bi.is_tablebook %}c {{ bi.from_date|date:"d.m.Y" }}{% endif %} {% else %} {{ bi.location_text }} {% endif %}