Skip to content

Commit

Permalink
refactor(dashboard): remove unused view. Improve calendar days names …
Browse files Browse the repository at this point in the history
…shorten for mobile version
  • Loading branch information
gnovaro committed Jan 2, 2024
1 parent 645ed8f commit 71e224d
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 15 deletions.
7 changes: 7 additions & 0 deletions lang/en/calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@
'November' => 'November',
'December' => 'December',
// Days
'Sun' => 'Sun',
'Mon' => 'Mon',
'Tue' => 'Tue',
'Wed' => 'Wed',
'Thu' => 'Thu',
'Fri' => 'Fri',
'Sat' => 'Sat',
'Sunday' => 'Sunday',
'Monday' => 'Monday',
'Tuesday' => 'Tuesday',
Expand Down
7 changes: 7 additions & 0 deletions lang/es/calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@
'November' => 'Noviembre',
'December' => 'Diciembre',
// Days
'Sun' => 'Dom',
'Mon' => 'Lun',
'Tue' => 'Mar',
'Wed' => 'Mié',
'Thu' => 'Jue',
'Fri' => 'Vie',
'Sat' => 'Sáb',
'Sunday' => 'Domingo',
'Monday' => 'Lunes',
'Tuesday' => 'Martes',
Expand Down
28 changes: 14 additions & 14 deletions resources/views/dashboard.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,32 +32,32 @@
<div class="card-body">
<div class="row">
<div class="col text-center border">
<span class="d-xs">{{ __('calendar.Mon') }}</span>
<span class="d-md">{{ __('calendar.Monday') }}</span>
<span class="d-none d-xs-block">{{ __('calendar.Mon') }}</span>
<span class="d-none d-md-block">{{ __('calendar.Monday') }}</span>
</div>
<div class="col text-center border">
<span class="d-xs">{{ __('calendar.Tue') }}</span>
<span class="d-md">{{ __('calendar.Tuesday') }}</span>
<span class="d-none d-xs-block">{{ __('calendar.Tue') }}</span>
<span class="d-none d-md-block">{{ __('calendar.Tuesday') }}</span>
</div>
<div class="col text-center border">
<span class="d-xs">{{ __('calendar.Wed') }}</span>
<span class="d-md">{{ __('calendar.Wednesday') }}</span>
<span class="d-none d-xs-block">{{ __('calendar.Wed') }}</span>
<span class="d-none d-md-block">{{ __('calendar.Wednesday') }}</span>
</div>
<div class="col text-center border">
<span class="d-xs">{{ __('calendar.Thu') }}</span>
<span class="d-md">{{ __('calendar.Thursday') }}</span>
<span class="d-none d-xs-block">{{ __('calendar.Thu') }}</span>
<span class="d-none d-md-block">{{ __('calendar.Thursday') }}</span>
</div>
<div class="col text-center border">
<span class="d-xs">{{ __('calendar.Fri') }}</span>
<span class="d-md">{{ __('calendar.Friday') }}</span>
<span class="d-none d-xs-block">{{ __('calendar.Fri') }}</span>
<span class="d-none d-md-block">{{ __('calendar.Friday') }}</span>
</div>
<div class="col text-center border">
<span class="d-xs">{{ __('calendar.Sat') }}</span>
<span class="d-md">{{ __('calendar.Saturday') }}</span>
<span class="d-none d-xs-block">{{ __('calendar.Sat') }}</span>
<span class="d-none d-md-block">{{ __('calendar.Saturday') }}</span>
</div>
<div class="col text-center border">
<span class="d-xs">{{ __('calendar.Sun') }}</span>
<span class="d-md">{{ __('calendar.Sunday') }}</span>
<span class="d-none d-xs-block">{{ __('calendar.Sun') }}</span>
<span class="d-none d-md-block">{{ __('calendar.Sunday') }}</span>
</div>
</div>
<div class="row" style="height: 14vh;">
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php

const APP_VERSION = '3.4.6';
const APP_VERSION = '3.4.7';

0 comments on commit 71e224d

Please sign in to comment.