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
9068a5cd
Commit
9068a5cd
authored
Apr 30, 2017
by
Cédric Moreau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] Problème de titre "[object Object]"
parent
9185afae
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
14 additions
and
12 deletions
+14
-12
src/app/topbar.html
src/app/topbar.html
+1
-1
src/pages/account/account.ts
src/pages/account/account.ts
+1
-1
src/pages/account_edit/account_edit.html
src/pages/account_edit/account_edit.html
+0
-2
src/pages/account_edit/account_edit.ts
src/pages/account_edit/account_edit.ts
+6
-2
src/pages/announce/announce.ts
src/pages/announce/announce.ts
+1
-1
src/pages/announce_new/announce_new.ts
src/pages/announce_new/announce_new.ts
+1
-1
src/pages/connect/connect.ts
src/pages/connect/connect.ts
+1
-1
src/pages/home/home.ts
src/pages/home/home.ts
+1
-1
src/pages/my_announces/my_announces.ts
src/pages/my_announces/my_announces.ts
+1
-1
src/pages/profil/profil.ts
src/pages/profil/profil.ts
+1
-1
No files found.
src/app/topbar.html
View file @
9068a5cd
...
...
@@ -3,6 +3,6 @@
<button
ion-button
menuToggle
>
<ion-icon
name=
"menu"
></ion-icon>
</button>
<ion-title>
{{ tit
l
e }}
</ion-title>
<ion-title>
{{ tit
r
e }}
</ion-title>
</ion-navbar>
</ion-header>
src/pages/account/account.ts
View file @
9068a5cd
...
...
@@ -10,7 +10,7 @@ import {AnnounceService} from "../../services/announce-service";
})
export
class
AccountPage
implements
OnInit
{
tit
l
e
:
string
=
"
Consulter un vendeur
"
tit
r
e
:
string
=
"
Consulter un vendeur
"
announces
:
any
constructor
(
...
...
src/pages/account_edit/account_edit.html
View file @
9068a5cd
...
...
@@ -2,8 +2,6 @@
<ion-row>
<ion-col
col-12
col-sm-12
col-lg-8
>
<h2
*ngIf=
"!accountService.acc.uuid"
>
Création du compte ğannonce
</h2>
<h2
*ngIf=
"accountService.acc.uuid"
>
Modification du compte ğannonce
</h2>
<form
#accountForm
="
ngForm
"
>
<ion-list
inset
>
...
...
src/pages/account_edit/account_edit.ts
View file @
9068a5cd
...
...
@@ -9,7 +9,7 @@ import {LoginService} from "../../services/login-service";
})
export
class
AccountEditPage
implements
OnInit
{
tit
l
e
:
string
=
"
Créer ou modifier mon compte
"
tit
r
e
:
string
constructor
(
private
route
:
ActivatedRoute
,
...
...
@@ -22,10 +22,14 @@ export class AccountEditPage implements OnInit {
}
ngOnInit
()
{
this
.
titre
=
"
Créer mon compte
"
this
.
route
.
params
.
subscribe
(
params
=>
{
if
(
params
[
'
pub
'
])
{
return
this
.
accountService
.
getAccountInfos
(
params
[
'
pub
'
])
.
then
(
res
=>
this
.
accountService
.
acc
=
res
.
acc
)
.
then
(
res
=>
{
this
.
accountService
.
acc
=
res
.
acc
this
.
titre
=
"
Modifier mon compte
"
})
}
});
}
...
...
src/pages/announce/announce.ts
View file @
9068a5cd
...
...
@@ -10,7 +10,7 @@ import {AnnounceService} from "../../services/announce-service";
})
export
class
AnnouncePage
implements
OnInit
{
tit
l
e
:
string
=
"
Consulter une annonce
"
tit
r
e
:
string
=
"
Consulter une annonce
"
constructor
(
private
route
:
ActivatedRoute
,
...
...
src/pages/announce_new/announce_new.ts
View file @
9068a5cd
...
...
@@ -10,7 +10,7 @@ import {AnnounceService} from "../../services/announce-service";
})
export
class
AnnounceEditPage
implements
OnInit
{
tit
l
e
:
string
=
"
Éditer une annonce
"
tit
r
e
:
string
=
"
Éditer une annonce
"
constructor
(
private
route
:
ActivatedRoute
,
...
...
src/pages/connect/connect.ts
View file @
9068a5cd
...
...
@@ -12,7 +12,7 @@ const base58 = require('../../lib/base58')
})
export
class
ConnectPage
implements
OnInit
{
tit
l
e
:
string
=
"
Se connecter
"
tit
r
e
:
string
=
"
Se connecter
"
connectionType
:
string
pub
:
string
salt
:
string
...
...
src/pages/home/home.ts
View file @
9068a5cd
...
...
@@ -7,7 +7,7 @@ import {AnnounceService} from "../../services/announce-service";
})
export
class
HomePage
{
tit
l
e
:
string
=
"
Toutes les annonces
"
tit
r
e
:
string
=
"
Toutes les annonces
"
announces
:
Array
<
any
>
constructor
(
private
announceService
:
AnnounceService
)
{
...
...
src/pages/my_announces/my_announces.ts
View file @
9068a5cd
...
...
@@ -10,7 +10,7 @@ import {AccountService} from "../../services/account-service";
export
class
MyAnnouncesPage
{
announces
:
any
=
[]
tit
l
e
:
string
=
"
Mes annonces
"
tit
r
e
:
string
=
"
Mes annonces
"
constructor
(
public
loginService
:
LoginService
,
...
...
src/pages/profil/profil.ts
View file @
9068a5cd
...
...
@@ -9,7 +9,7 @@ import {co} from "co";
})
export
class
ProfilPage
{
tit
l
e
:
string
=
"
Mon profil
"
tit
r
e
:
string
=
"
Mon profil
"
enoughMoney
:
Boolean
constructor
(
...
...
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