Skip to content

A free open source IT asset/license management system

departmentNameLinkFormatter had a bad url

Godfrey M32b34ca9b934
diff --git a/.env.testing.example b/.env.testing.example
deleted file mode 100644
index 3391d62726..0000000000
--- a/.env.testing.example
+++ /dev/null
@@ -1,19 +0,0 @@
-# --------------------------------------------
-# REQUIRED: BASIC APP SETTINGS
-# --------------------------------------------
-APP_ENV=testing
-APP_DEBUG=true
-APP_KEY=base64:glJpcM7BYwWiBggp3SQ/+NlRkqsBQMaGEOjemXqJzOU=
-APP_URL=http://localhost:8000
-APP_TIMEZONE='UTC'
-APP_LOCALE=en
-
-# --------------------------------------------
-# REQUIRED: DATABASE SETTINGS
-# --------------------------------------------
-DB_CONNECTION=mysql
-DB_HOST=127.0.0.1
-DB_PORT=3306
-DB_DATABASE=null
-DB_USERNAME=null
-DB_PASSWORD=null
diff --git a/.github/workflows/crowdin-upload.yml b/.github/workflows/crowdin-upload.yml
deleted file mode 100644
index 3255934534..0000000000
--- a/.github/workflows/crowdin-upload.yml
+++ /dev/null
@@ -1,21 +0,0 @@
-name: Crowdin Action
-
-on:
- push:
- branches: [ develop ]
-
-jobs:
- upload-sources-to-crowdin:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@v4
-
- - name: Crowdin push
- uses: crowdin/github-action@v1
- with:
- upload_sources: true
- upload_translations: false
- download_translations: false
- project_id: ${{ secrets.CROWDIN_PROJECT_ID }}
- token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php
index 74abfa24b2..20c52d5b22 100644
--- a/resources/views/partials/bootstrap-table.blade.php
+++ b/resources/views/partials/bootstrap-table.blade.php
@@ -597,7 +597,7 @@
function departmentNameLinkFormatter(value, row) {
if ((row.assigned_user) && (row.assigned_user.department) && (row.assigned_user.department.name)) {
- return '<a href="{{ config('app.url') }}/department/' + row.assigned_user.department.id + '">' + row.assigned_user.department.name + '</a>';
+ return '<a href="{{ config('app.url') }}/departments/' + row.assigned_user.department.id + '">' + row.assigned_user.department.name + '</a>';
}
}