Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
marketplaces
gannonce-ui
Commits
27a20e09
Commit
27a20e09
authored
Apr 27, 2017
by
Cédric Moreau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] Libellé « création » ou « modificaiton » d'une annonce selon le cas
parent
80daff3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/pages/announce_new/announce_new.html
src/pages/announce_new/announce_new.html
+4
-4
No files found.
src/pages/announce_new/announce_new.html
View file @
27a20e09
...
...
@@ -4,8 +4,8 @@
<form
#accountForm
="
ngForm
"
>
<ion-row>
<ion-col
col-12
col-sm-12
col-lg-6
>
<h2
*ngIf=
"
!
announceService.
ann.uuid
"
>
Création d'une annonce
</h2>
<h2
*ngIf=
"announceService.
ann.uuid
"
>
Modification d'une annonce
</h2>
<h2
*ngIf=
"announceService.
creation
"
>
Création d'une annonce
</h2>
<h2
*ngIf=
"
!
announceService.
creation
"
>
Modification d'une annonce
</h2>
<ion-list
inset
>
<!-- Titre -->
...
...
@@ -171,8 +171,8 @@
<ion-col
col-12
text-center
>
<button
type=
"submit"
ion-button
[disabled]=
"!accountForm.form.valid"
(click)=
"announceService.createOrModifyAnnounce(accountForm)"
>
<span
[hidden]=
"!(announceService.creation)"
>
Créer l'annonce
</span>
<span
[hidden]=
"!(!announceService.creation && announceService.stockInitial == 0 && announceService.ann.stock > 0)"
>
Rouvrir l'annonce
</span>
<span
[hidden]=
"!(!announceService.creation && announceService.stockInitial > 0 || announceService.ann.stock == announceService.stockInitial || announceService.ann.stock == '')"
>
Valider les modifications
</span>
<span
[hidden]=
"!(!announceService.creation &&
(
announceService.stockInitial == 0 && announceService.ann.stock > 0)
)
"
>
Rouvrir l'annonce
</span>
<span
[hidden]=
"!(!announceService.creation &&
(
announceService.stockInitial > 0 || announceService.ann.stock == announceService.stockInitial || announceService.ann.stock == '')
)
"
>
Valider les modifications
</span>
</button>
<button
[hidden]=
"announceService.stockInitial == 0"
type=
"submit"
ion-button
[disabled]=
"!accountForm.form.valid"
color=
"danger"
(click)=
"announceService.deleteAnnounce(accountForm)"
>
Fermer l'annonce
</button>
</ion-col>
...
...
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