mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
departmentNameLinkFormatter had a bad url
This commit is contained in:
parent
1455331a90
commit
32b34ca9b9
|
@ -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
|
|
21
.github/workflows/crowdin-upload.yml
vendored
21
.github/workflows/crowdin-upload.yml
vendored
|
@ -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 }}
|
|
|
@ -597,7 +597,7 @@
|
||||||
|
|
||||||
function departmentNameLinkFormatter(value, row) {
|
function departmentNameLinkFormatter(value, row) {
|
||||||
if ((row.assigned_user) && (row.assigned_user.department) && (row.assigned_user.department.name)) {
|
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>';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue