Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c809bb45
authored
Feb 05, 2017
by
Sebastián Collado Montañez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
license alert info warning
parent
e23aef6c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
sails/src/assets/scripts/modules/student/views/setup.html
sails/src/assets/scripts/modules/student/views/setup.html
View file @
c809bb45
...
@@ -50,7 +50,17 @@
...
@@ -50,7 +50,17 @@
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
translate
>
license_number
</label>
<label
translate
>
license_number
</label>
<input
type=
"text"
id=
"setup_license"
class=
"form-control"
mask=
"9999-9999-9999-9999"
clean=
"true"
placeholder=
"{{ 'license_number' | translate }}"
ng-model=
"formUser.license_number"
required
>
<input
type=
"text"
id=
"setup_license"
class=
"form-control"
mask=
"9999-9999-9999-9999"
clean=
"true"
placeholder=
"{{ 'license_number' | translate }}"
ng-model=
"formUser.license_number"
required
>
<br/>
<div
ng-show=
"studentData.license && !studentData.license_expired"
class=
"alert alert-info"
role=
"alert"
>
<i
class=
"fa fa-info-circle"
aria-hidden=
"true"
></i>
{{ 'license_expires' | translate }} {{ studentData.expiration_date }}
</div>
<div
ng-show=
"studentData.license && studentData.license_expired"
class=
"alert alert-warning"
role=
"alert"
>
<i
class=
"fa fa-exclamation-circle"
aria-hidden=
"true"
></i>
{{ 'license_expired' | translate }} {{ studentData.expiration_date }}
</div>
<div
ng-show=
"!studentData.license"
class=
"alert alert-danger"
role=
"alert"
>
<i
class=
"fa fa-exclamation-circle"
aria-hidden=
"true"
></i>
{{ 'license_missing' | translate }}
</div>
<!-- VERSION SOLO TEXTO
<span ng-show="studentData.license && !studentData.license_expired" class="text-info">
<span ng-show="studentData.license && !studentData.license_expired" class="text-info">
({{ 'license_expires' | translate }} {{ studentData.expiration_date }})
({{ 'license_expires' | translate }} {{ studentData.expiration_date }})
</span>
</span>
...
@@ -60,6 +70,7 @@
...
@@ -60,6 +70,7 @@
<span ng-show="!studentData.license" class="text-danger">
<span ng-show="!studentData.license" class="text-danger">
({{ 'license_missing' | translate }})
({{ 'license_missing' | translate }})
</span>
</span>
-->
</div>
</div>
</fieldset>
</fieldset>
</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