Skip to content
Snippets Groups Projects
Commit 10ce337f authored by dcz's avatar dcz
Browse files

Close button

parent 951f44ea
No related merge requests found
...@@ -5,6 +5,14 @@ ...@@ -5,6 +5,14 @@
{% block title %}{% trans 'Szczegóły' %}{% endblock %} {% block title %}{% trans 'Szczegóły' %}{% endblock %}
{% block content2 %} {% block content2 %}
<table class="w-100">
<tr><td>
<div class="mt-3 float-right">
<a title="Zamknij" href="{% url 'financial_settlement:statement_list' %}" class="btn btn-sm btn-outline-dark">X</a>
</div>
</td>
</tr>
</table>
<div class="mt-3"> <div class="mt-3">
<h5 class="float-left mt-2">{% trans 'Szczegóły pracy nieprzypisanej do żadnej umowy' %}</h5> <h5 class="float-left mt-2">{% trans 'Szczegóły pracy nieprzypisanej do żadnej umowy' %}</h5>
</div> </div>
......
...@@ -5,6 +5,14 @@ ...@@ -5,6 +5,14 @@
{% block title %}{% trans 'Szczegóły umowy' %}{% endblock %} {% block title %}{% trans 'Szczegóły umowy' %}{% endblock %}
{% block content2 %} {% block content2 %}
<table class="w-100">
<tr><td>
<div class="mt-3 float-right">
<a title="Zamknij" href="{% url 'financial_settlement:statement_list' %}" class="btn btn-sm btn-outline-dark">X</a>
</div>
</td>
</tr>
</table>
<div class="mt-3"> <div class="mt-3">
<h5 class="float-left mt-2">{% trans 'Szczegóły umowy' %}</h5> <h5 class="float-left mt-2">{% trans 'Szczegóły umowy' %}</h5>
</div> </div>
......
...@@ -7,6 +7,14 @@ ...@@ -7,6 +7,14 @@
{% block title %}{{ title }}{% endblock %} {% block title %}{{ title }}{% endblock %}
{% block content2 %} {% block content2 %}
<table class="w-100">
<tr><td>
<div class="mt-3 float-right">
<a title="Zamknij" href="{% url 'financial_settlement:statement_list' %}" class="btn btn-sm btn-outline-dark">X</a>
</div>
</td>
</tr>
</table>
<h5 class="mt-4 mb-4">{{ title }}</h5> <h5 class="mt-4 mb-4">{{ title }}</h5>
{% crispy form %} {% crispy form %}
......
...@@ -5,14 +5,25 @@ ...@@ -5,14 +5,25 @@
{% block title %}{% trans 'Umowy' %}{% endblock %} {% block title %}{% trans 'Umowy' %}{% endblock %}
{% block content2 %} {% block content2 %}
<div class="mt-3"> <table class="w-100">
<h5 class="float-left mt-2">{% trans 'Umowy' %}</h5> <tr><td>
<div class="mb-4 float-right"> <div class="mt-3 float-right">
{% if perms.users.edit_statement %} <a title="Zamknij" href="{% url 'financial_settlement:statement_add' %}" class="btn btn-sm btn-outline-dark">X</a>
<a href="{% url 'financial_settlement:statement_add' %}" class="btn btn-sm btn-outline-dark">+ {% trans 'Dodaj umowę' %}</a> </div>
{% endif %} </td>
</tr>
<tr><td>
<div class="mt-3">
<h5 class="float-left mt-2">{% trans 'Umowy' %}</h5>
<div class="mb-4 float-right">
{% if perms.users.edit_statement %}
<a href="{% url 'financial_settlement:statement_add' %}" class="btn btn-sm btn-outline-dark">+ {% trans 'Dodaj umowę' %}</a>
{% endif %}
</div>
</div> </div>
</div> </td>
</tr>
</table>
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>
......
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