Minor - add icon + format code

pull/4020/head
Julio 3 years ago
parent c5846bb189
commit cd7769ce7a
  1. 6
      assets/vue/components/session/SessionCardList.vue
  2. 4
      public/main/mySpace/ti_report.php

@ -3,8 +3,10 @@
v-for="session in sessions"
:key="session.id"
>
<div v-if="session.category">
<h3>{{ session.category.name }}</h3>
<div v-if="session.category"
class="text-xl"
>
<v-icon icon="mdi-folder" /> {{ session.category.name }}
</div>
<SessionCard

@ -22,7 +22,7 @@ if (!$allowToTrack) {
}
$userInfo = [];
$action = isset($_REQUEST['a']) ? $_REQUEST['a'] : null;
$action = $_REQUEST['a'] ?? null;
$content = '';
switch ($action) {
case 'add_user':
@ -57,7 +57,7 @@ echo '<style>
$form = new FormValidator('users', 'get', api_get_self().'?a=users_active');
$form->addDateRangePicker(
'daterange',
get_lang('DateRange'),
get_lang('Date range'),
true,
['format' => 'YYYY-MM-DD', 'timePicker' => 'false', 'validate_format' => 'Y-m-d']
);

Loading…
Cancel
Save