Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
webprofile-jwg2024
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Siti Aisah
webprofile-jwg2024
Commits
4b7f543f
Commit
4b7f543f
authored
4 years ago
by
Aan Choesni Herlingga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix view team academic staff
parent
e1382a8b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
3 deletions
+12
-3
app/Http/Controllers/Webprofile/Front/PersonController.php
+8
-1
resources/lang/en/label.php
+1
-0
resources/lang/id/label.php
+1
-0
resources/views/webprofile/backend/person/index.blade.php
+2
-2
No files found.
app/Http/Controllers/Webprofile/Front/PersonController.php
View file @
4b7f543f
...
...
@@ -83,13 +83,20 @@ class PersonController extends Controller
if
(
$pick
)
{
$listTeam
=
$this
->
listTeam
(
$pick
->
value_setting
);
}
$team
=
[];
if
(
$listTeam
)
{
if
(
$name
==
'lecturer'
)
{
if
(
array_key_exists
(
1
,
$listTeam
))
{
$team
=
$listTeam
[
1
];
}
else
{
$team
=
[];
}
}
elseif
(
$name
==
'academic-staff'
)
{
if
(
array_key_exists
(
0
,
$listTeam
))
{
$team
=
$listTeam
[
0
];
}
else
{
$team
=
[];
}
}
}
...
...
This diff is collapsed.
Click to expand it.
resources/lang/en/label.php
View file @
4b7f543f
...
...
@@ -33,4 +33,5 @@ return [
'unit'
=>
'Unit'
,
'lecturer'
=>
'Lecturer'
,
'employe'
=>
'Academic Staff'
,
'academic-staff'
=>
'Academic Staff'
,
];
This diff is collapsed.
Click to expand it.
resources/lang/id/label.php
View file @
4b7f543f
...
...
@@ -33,4 +33,5 @@ return [
'unit'
=>
'Unit'
,
'lecturer'
=>
'Dosen'
,
'employe'
=>
'Tenaga Kependidikan'
,
'academic-staff'
=>
'Tenaga Kependidikan'
,
];
This diff is collapsed.
Click to expand it.
resources/views/webprofile/backend/person/index.blade.php
View file @
4b7f543f
...
...
@@ -75,8 +75,8 @@
</table>
<h1>@lang('label.employe')</h1>
<div style="
padding
:
10
px
;
color
:
blue
;
font
-
size
:
14
px
;
">
URL : <a href="
{{
url
(
'team/
employe'
)
}}
" target="
_blank
">{{ url('employe
') }}</a>
<label id="
urlemploye
" hidden>team/
employe
</label>
URL : <a href="
{{
url
(
'team/
academic-staff'
)
}}
" target="
_blank
">{{ url('academic-staff
') }}</a>
<label id="
urlemploye
" hidden>team/
academic-staff
</label>
<button type="
button
" onclick="
copyToClipboard
(
'#urlemploye'
)
" class="
btn
btn
-
info
btn
-
xs
">Copy URL</button>
</div>
<table class="
table
table
-
hover
" width="
100
%
">
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment