Project

General

Profile

« Previous | Next » 

Revision c125a508

Added by Serghei Mihai over 11 years ago

displaying if the absence is a group one or not

View differences:

calebasse/personnes/templates/personnes/worker_update.html
124 124
            <li class="status">Statut</li>
125 125
            <li class="type">Type</li>
126 126
            <li class="comment">Commentaire</li>
127
            <li class="groupe">Groupe</li>
127 128
            <li class="actions">Actions</li>
128 129
          </ul>
129 130
        </li>
......
147 148
            {{ holiday.comment }}
148 149
            {% endif %}
149 150
            </li>
151
            <li class="groupe">
152
              {% if holiday.holiday_type.for_group %}
153
              <span class="icon-ok"></span>
154
              {% endif %}
155
            </li>
150 156
            <li class="actions">
151 157
              <button class="icon-edit" data-action='edit' data-id='{{ holiday.id }}'></button>
152 158
              <button class="icon-remove" data-action='delete' data-id='{{ holiday.id }}'></button>
calebasse/static/css/style.css
1411 1411
.icon-circle-arrow-right:before   { content: "\f0a9"; }
1412 1412
.icon-remove:before   { content: "\f00d"; }
1413 1413
.icon-warning-sign:before       { content: "\f071" }
1414
.icon-ok:before {content: "\f00c"}
1414 1415

  
1415 1416
/* periodic event search form */
1416 1417

  
......
1464 1465
    width: 10%;
1465 1466
}
1466 1467

  
1468
li.groupe {
1469
    width: 4%;
1470
    text-align: center;
1471
}
1472

  
1467 1473
li.comment {
1468
    width: 45%;
1474
    width: 41%;
1469 1475
}
1470 1476

  
1471 1477
.caption {
......
1477 1483
#holidays ul {
1478 1484
    margin: 0;
1479 1485
    padding: 0 .5em;
1486
}
1487

  
1488
#services li {
1489
    display: inline-block;
1490
    list-style-type: none;
1480 1491
}

Also available in: Unified diff