Skip to content

Commit

Permalink
Merge pull request #3726 from ColoredCow/feature/analytics-link
Browse files Browse the repository at this point in the history
Analytics dashboard link
  • Loading branch information
rathorevaibhav authored Oct 16, 2024
2 parents 5b18c81 + 9e5f374 commit 9514bf2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ CUSTOM_INVOICE_CLIENT_1=""

HR_MAIL_TO_NON_VERIFIED_APPLICANTS=""

INVOICE_UNPAID_LIST_EMAIL=""
INVOICE_UNPAID_LIST_EMAIL=""
INVOICE_UNPAID_LIST_NAME=""

HR_FOLLOWUP_EMAIL_PRIMARY=""
Expand All @@ -128,4 +128,6 @@ AXIS_BANK_MESSAGE_PATTERN=
PDF_BINARY=

CA_EMAIL=
CA_NAME=
CA_NAME=

ANALYTICS_DASHBOARD_URL=
1 change: 1 addition & 0 deletions config/constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@
'google_application_credentials' => env('GOOGLE_APPLICATION_CREDENTIALS'),

'website_url' => env('WEBSITE_URL', 'https://coloredcow.com'),
'analytics_dashboard_url' => env('ANALYTICS_DASHBOARD_URL', 'https://coloredcow.com'),
'cube_js_url' => env('CUBE_JS_URL', 'http://localhost:4000/cubejs-api/v1'),
'website_upload_dir' => env('WEBSITE_UPLOAD_DIR'),
'timezone' => [
Expand Down
8 changes: 7 additions & 1 deletion resources/views/layouts/navbar.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
</a>
<div class="dropdown-menu z-index-1100" aria-labelledby="navbarDropdown_operations">
<a class="dropdown-item" href="{{route('office-location.index')}}" >Office location</a>

</div>
</li>
@endcan
Expand Down Expand Up @@ -196,4 +196,10 @@ class="caret"></span>
</div>
</li>
@endcanany
<li class="nav-item">
<a class="nav-item nav-link d-flex justify-content-md-center align-items-center" href="{{config('constants.analytics_dashboard_url')}}" target="_blank">
<span>Analytics</span>
<span><i class="fa fa-external-link fz-14 pl-0.5"></i></span>
</a>
</li>
</ul>

0 comments on commit 9514bf2

Please sign in to comment.