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
b51ca2ee
Commit
b51ca2ee
authored
May 06, 2017
by
Cédric Moreau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[enh] Retirer des images d'une annonce
parent
39fd5f00
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
src/pages/announce_new/announce_new.html
src/pages/announce_new/announce_new.html
+4
-0
src/services/announce-service.ts
src/services/announce-service.ts
+4
-0
No files found.
src/pages/announce_new/announce_new.html
View file @
b51ca2ee
...
...
@@ -125,6 +125,10 @@
<ion-icon
name=
"add"
></ion-icon>
Ajouter
</button>
<button
ion-button
icon-left
color=
"light"
(click)=
"announceService.resetImages()"
>
<ion-icon
name=
"remove"
></ion-icon>
Retirer la dernière
</button>
</ion-card-content>
</ion-card>
...
...
src/services/announce-service.ts
View file @
b51ca2ee
...
...
@@ -113,6 +113,10 @@ export class AnnounceService {
})
}
resetImages
()
{
this
.
ann
.
images
.
pop
()
}
rawify
(
a
)
{
let
raw
=
'
Version: 1
\n
'
raw
+=
`Document: Announce\n`
...
...
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