Skip to content

Commit

Permalink
Improve planning style
Browse files Browse the repository at this point in the history
  • Loading branch information
mRoca committed Apr 17, 2020
1 parent 30d08f9 commit 9505902
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions assets/css/planning.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ $tableBoxSize: 40px;
font-weight: 600;
background-color: white;
position: sticky;
white-space: nowrap;
z-index: 99;
top: 0;

Expand Down Expand Up @@ -106,6 +107,7 @@ $tableBoxSize: 40px;

td.item-data {
white-space: nowrap;
font-size: 0.85em;
}

td.slot-box {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
{% block itemDataDetails %}
<td class="item-data">{{ item.entity.hasMobileRadio ? 'common.yes' | trans : '-' }}</td>
<td class="item-data" colspan="2">{{ item.entity.hasFirstAidKit ? 'common.yes' | trans : '-' }}</td>
<td class="item-data">{{ item.entity.contact | truncate(30) }}</td>
<td class="item-data" colspan="2">{{ item.entity.parkingLocation | truncate(30) }}</td>
<td class="item-data"><small>{{ item.entity.contact | truncate(50) }}</small></td>
<td class="item-data" colspan="2"><small>{{ item.entity.parkingLocation | truncate(50) }}</small></td>
<td class="item-data">{{ item.entity.seatingCapacity }}</td>
<td class="item-data">{{ item.entity.licensePlate }}</td>
<td class="item-data">{{ item.entity.comments | truncate(50) }}</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
<td class="item-data">{{ item.entity.identificationNumber }}</td>
<td class="item-data">{{ item.entity.phoneNumber }}</td>
<td class="item-data">{{ item.entity.emailAddress }}</td>
<td class="item-data">{{ item.entity.occupation }}</td>
<td class="item-data">{{ item.entity.organizationOccupation }}</td>
<td class="item-data">{{ item.entity.occupation | truncate(50) }}</td>
<td class="item-data">{{ item.entity.organizationOccupation | truncate(50) }}</td>
<td class="item-data">
{% for skill in getDisplayableSkillsInPlanning(item.entity) -%}
{{ skill|skillBadge }}
Expand Down

0 comments on commit 9505902

Please sign in to comment.