Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Χάρης Παπαδόπουλος
e-epal
Commits
2385051a
Commit
2385051a
authored
Jun 18, 2017
by
Χάρης Παπαδόπουλος
Browse files
Fixed manual link. Help desk form is now available only to student role
parent
e7d4bcd5
Changes
3
Hide whitespace changes
Inline
Side-by-side
source/components/header/header.component.html
View file @
2385051a
...
...
@@ -20,20 +20,17 @@
<div
class=
"header-wrapper"
>
<header
id=
"navbar"
role=
"banner"
class=
"navbar navbar-default"
>
<div
class=
"container"
>
<div
*ng
If=
"(
loginInfo$ | async
).size > 0
"
>
<div
*ng
For=
"let loginInfoRow$ of
loginInfo$ | async
; let i=index;
"
>
<ul
class=
"navbar-nav"
>
<div
*ngIf=
"
(
loginInfo
$ | async)
.cu_name !== ''"
>
<div
*ngIf=
"loginInfo
Row$
.cu_name !== ''"
>
<div
class=
"row"
>
<div
class=
"col-md-2"
>
<i
class=
"fa fa-home isclickable"
(click)=
"goHome()"
></i>
<span
class=
"signout isclickable"
(click)=
"goHome()"
style=
"color:#CC3300;"
>
Αρχική
</span>
</div>
<div
class=
"col-md-2"
>
<span
class=
"signout isclickable"
(click)=
"gohelpDesk()"
style=
"color:#CC3300;"
>
Επικοινωνία
</span>
<span
*ngIf=
"loginInfoRow$.auth_role===studentRole"
class=
"signout isclickable"
(click)=
"gohelpDesk()"
style=
"color:#CC3300;"
>
Επικοινωνία
</span>
</div>
<div
class=
"col-md-4"
>
</div>
<div
class=
"col-md-4"
style=
"text-align: right"
>
...
...
source/components/header/header.component.ts
View file @
2385051a
...
...
@@ -23,6 +23,7 @@ import { StudentDataFieldsActions } from "../../actions/studentdatafields.action
})
export
default
class
HeaderComponent
implements
OnInit
,
OnDestroy
{
private
authToken
:
string
;
private
studentRole
=
STUDENT_ROLE
;
private
authRole
:
string
;
private
cuName
:
string
;
private
loginInfo$
:
BehaviorSubject
<
ILoginInfo
>
;
...
...
@@ -141,7 +142,7 @@ export default class HeaderComponent implements OnInit, OnDestroy {
gohelpDesk
()
{
this
.
router
.
navigate
([
'
/help-desk
'
]);
this
.
router
.
navigate
([
'
/help-desk
'
]);
}
public
showModal
():
void
{
...
...
source/components/main/main.component.html
View file @
2385051a
...
...
@@ -25,10 +25,9 @@
<div
style=
"margin-top:15px; margin-bottom: 10px;"
class=
"left-choices"
>
<div
class=
"row"
>
<div
class=
"col-md-12"
>
<button
type=
"button"
class=
"btn-primary btn-lg pull-left isclickable"
style=
"width: 10em;"
>
<a
style=
"font-size: 0.9em; font-family: arial, sans-serif!important; font-weight: bold; color: #ffffff;"
href=
"../pdfs/files/odigies.pdf"
target=
"_blank"
>
Οδηγίες χρήσης
</a>
</button>
<a
href=
"/pdfs/files/odigies.pdf"
target=
"_blank"
class=
"btn btn-primary btn-lg pull-left isclickable active"
style=
"width: 10em; "
role=
"button"
aria-pressed=
"true"
>
<span
style=
"font-size: 0.9em; font-family: arial, sans-serif!important; font-weight: bold; color: #ffffff;"
>
Οδηγίες χρήσης
</span>
</a>
</div>
</div>
</div>
...
...
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