Skip to content

Commit

Permalink
fix padding
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpapst committed Jul 5, 2024
1 parent a27a43b commit 9a8dcc5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Resources/views/view/timesheet.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<span class="ps-2">{{ sharedProject.project.name }}</span>
</h2>

{% if statsPerMonth != null %}
{% if statsPerMonth is not null %}
<div class="row mb-3">
<div class="col-md-12">
<div class="card">
Expand Down Expand Up @@ -103,10 +103,10 @@
</div>
{% endif %}
</div>
<div class="card-body{% if timeRecords is not empty%} p-0{% endif %}">
<div class="card-body{% if timeRecords is not empty and statsPerDay is null %} p-0{% endif %}">
{% if timeRecords is empty %}
{{ nothing_found() }}
{% elseif statsPerDay == null %}
{% elseif statsPerDay is null %}
<table class="table table-vcenter table-hover dataTable">
<thead>
<tr>
Expand All @@ -115,7 +115,7 @@
<th>{{ 'shared_project_timesheets.view.table.user' | trans }}</th>
{% endif %}
<th>{{ 'shared_project_timesheets.view.table.description' | trans }}</th>
<th class="w-min">{{ 'shared_project_timesheets.view.table.duration' | trans }}</th>
<th class="w-min">{{ 'duration'|trans }}</th>
{% if sharedProject.entryRateVisible %}
<th class="w-min">{{ 'hourlyRate' | trans }}</th>
<th class="w-min">{{ 'total_rate' | trans }}</th>
Expand Down

0 comments on commit 9a8dcc5

Please sign in to comment.