Skip to content

Commit 60b1d6b

Browse files
committed
Change href with /new
1 parent d5b1061 commit 60b1d6b

13 files changed

+69
-109
lines changed

angular/wallypop/.idea/workspace.xml

Lines changed: 14 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

angular/wallypop/src/app/components/articles/commercial.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
en Wallypop</small>
1717
</p>
1818
<p class="text-center">
19-
<a class="btn btn-info btn-block" href="/commercial" onclick="" type="reset">BORRAR
19+
<a class="btn btn-info btn-block" href="/new/commercial" onclick="" type="reset">BORRAR
2020
FILTROS</a>
2121
</p>
2222
</div>
2323
</div>
2424
<div class="col-xs-12 col-sm-9 col-md-10">
2525
<div class="full-width">
2626
<ol class="breadcrumb">
27-
<li *ngFor="let category of categories"><a href="/commercial/{{category.id_CATEGORY}}">{{category.title}}</a></li>
27+
<li *ngFor="let category of categories"><a href="/new/commercial/{{category.id_CATEGORY}}">{{category.title}}</a></li>
2828
</ol>
2929
</div>
3030
<!-- Article -->
@@ -35,7 +35,7 @@
3535
<img alt="" class="img-responsive" src="/api/articles/{{article.id_ARTICLE}}/image">
3636
</figure>
3737
<div class="full-width post-info">
38-
<a class="full-width post-info-title" href="/post/{{article.id_ARTICLE}}">{{article.title}}</a>
38+
<a class="full-width post-info-title" href="/new/post/{{article.id_ARTICLE}}">{{article.title}}</a>
3939
<p class="full-width post-info-price">{{article.price}}€</p>
4040
<span class="post-info-zone">{{article.city}}</span>
4141
<span class="post-info-date">{{article.date}}</span>

angular/wallypop/src/app/components/articles/post.component.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<div class="row">
99
<div class="col-xs-12 col-sm-8">
1010
<ol class="breadcrumb"> <!-- Mostrar todas las categorías a las que pertenece el artículo -->
11-
<li *ngFor="let category of categories"><a href="/commercial/{{category.id_CATEGORY}}">{{category.title}}</a></li>
11+
<li *ngFor="let category of categories"><a href="/new/commercial/{{category.id_CATEGORY}}">{{category.title}}</a></li>
1212
<li class="active">Id: #{{article.id_ARTICLE}}</li>
1313
</ol>
1414
<!-- Reserved -->
@@ -66,7 +66,7 @@ <h3>Descripción: </h3>
6666
<div class="full-width div-table">
6767
<div class="full-width div-table-row">
6868
<div class="div-table-cell div-table-cell-xs">
69-
<a class="btn btn-default btn-block" href="/commercial"><i aria-hidden="true" class="fa fa-angle-left"></i> Volver al listado</a>
69+
<a class="btn btn-default btn-block" href="/new/commercial"><i aria-hidden="true" class="fa fa-angle-left"></i> Volver al listado</a>
7070
</div>
7171
</div>
7272
</div>
@@ -88,8 +88,8 @@ <h3>Descripción: </h3>
8888
</div>
8989
<div class="clearfix"></div>
9090
<ng-template [ngIf]="!loginService.isLogged()">
91-
<a class="btn btn-success btn-block" href="/login">ENVIAR MENSAJE</a>
92-
<a class="btn btn-success btn-block" href="/login">LLAMAR</a>
91+
<a class="btn btn-success btn-block" href="/new/login">ENVIAR MENSAJE</a>
92+
<a class="btn btn-success btn-block" href="/new/login">LLAMAR</a>
9393
</ng-template>
9494
<!-- {{#logged}} -->
9595
<ng-template [ngIf]="loginService.isLogged()">
@@ -102,7 +102,7 @@ <h3>Descripción: </h3>
102102
<ng-template #sold>
103103
<a class="btn btn-primary btn-block" (click)="sell($event)">ANULAR VENTA</a>
104104
</ng-template>
105-
<a class="btn btn-danger btn-block" (click)="removeArticle(article)" href="/commercial">ELIMINAR</a>
105+
<a class="btn btn-danger btn-block" (click)="removeArticle(article)" href="/new/commercial">ELIMINAR</a>
106106
</ng-template> <!-- ONLY FOR OWNER OR ADMIN -->
107107
<ng-template [ngIf]="!isOwner() && !isAdmin()">
108108
<a aria-controls="collapseExample" aria-expanded="false" class="btn btn-success btn-block" data-toggle="collapse"

angular/wallypop/src/app/components/articles/sold.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<img alt="" class="img-responsive" src="/api/articles/{{article.id_ARTICLE}}/image">
3232
</figure>
3333
<div class="full-width post-info">
34-
<a class="full-width post-info-title" href="/post/{{article.id_ARTICLE}}">{{article.title}}</a>
34+
<a class="full-width post-info-title" href="/new/post/{{article.id_ARTICLE}}">{{article.title}}</a>
3535
<p class="full-width post-info-price">{{article.price}}€</p>
3636
<span class="post-info-zone">{{article.city}}</span>
3737
<span class="post-info-date">{{article.date}}</span>

angular/wallypop/src/app/components/articles/yourcommercial.component.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,23 @@
3434
</div>
3535
<div class="full-width list-group" style="border-radius: 0;">
3636
<!-- {{>nav_side}} -->
37-
<a class="list-group-item" href="/profile">
37+
<a class="list-group-item" href="/new/profile">
3838
<i aria-hidden="true" class="fa fa-user fa-fw"></i> TU PERFIL
3939
</a>
40-
<a class="list-group-item active" href="/yourcommercial">
40+
<a class="list-group-item active" href="/new/yourcommercial">
4141
<i aria-hidden="true" class="fa fa-object-group fa-fw"></i> TUS ANUNCIOS
4242
</a>
43-
<a class="list-group-item" href="/yourcommercialsold">
43+
<a class="list-group-item" href="/new/yourcommercialsold">
4444
<i aria-hidden="true" class="fa fa-object-group fa-fw"></i> TUS ANUNCIOS VENDIDOS
4545
</a>
46-
<a class="list-group-item" href="/favorites">
46+
<a class="list-group-item" href="/new/favorites">
4747
<i aria-hidden="true" class="fa fa-heart-o fa-fw"></i> FAVORITOS
4848
</a>
4949
<span *ngIf="loginService.isAdmin()">
50-
<a class="list-group-item" href="/category">
50+
<a class="list-group-item" href="/new/category">
5151
<i aria-hidden="true" class="fa fa-object-group fa-fw"></i> GESTIÓN CATEGORÍAS
5252
</a>
53-
<a class="list-group-item" href="/reports">
53+
<a class="list-group-item" href="/new/reports">
5454
<i aria-hidden="true" class="fa fa-object-group fa-fw"></i> GESTIÓN REPORTES
5555
</a>
5656
</span>
@@ -69,7 +69,7 @@
6969
<img alt="" class="img-responsive" src="/api/articles/{{article.id_ARTICLE}}/image">
7070
</figure>
7171
<div class="full-width post-info">
72-
<a class="full-width post-info-title" href="/post/{{article.id_ARTICLE}}">{{article.title}}</a>
72+
<a class="full-width post-info-title" href="/new/post/{{article.id_ARTICLE}}">{{article.title}}</a>
7373
<p class="full-width post-info-price">{{article.price}}€</p>
7474
<span class="post-info-zone">{{article.city}}</span>
7575
<span class="post-info-date">{{article.date}}</span>

angular/wallypop/src/app/components/articles/yourcommercialsold.component.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,23 @@
3434
</div>
3535
<div class="full-width list-group" style="border-radius: 0;">
3636
<!-- {{>nav_side}} -->
37-
<a class="list-group-item" href="/profile">
37+
<a class="list-group-item" href="/new/profile">
3838
<i aria-hidden="true" class="fa fa-user fa-fw"></i> TU PERFIL
3939
</a>
40-
<a class="list-group-item" href="/yourcommercial">
40+
<a class="list-group-item" href="/new/yourcommercial">
4141
<i aria-hidden="true" class="fa fa-object-group fa-fw"></i> TUS ANUNCIOS
4242
</a>
43-
<a class="list-group-item active" href="/yourcommercialsold">
43+
<a class="list-group-item active" href="/new/yourcommercialsold">
4444
<i aria-hidden="true" class="fa fa-object-group fa-fw"></i> TUS ANUNCIOS VENDIDOS
4545
</a>
46-
<a class="list-group-item" href="/favorites">
46+
<a class="list-group-item" href="/new/favorites">
4747
<i aria-hidden="true" class="fa fa-heart-o fa-fw"></i> FAVORITOS
4848
</a>
4949
<span *ngIf="loginService.isAdmin()">
50-
<a class="list-group-item" href="/category">
50+
<a class="list-group-item" href="/new/category">
5151
<i aria-hidden="true" class="fa fa-object-group fa-fw"></i> GESTIÓN CATEGORÍAS
5252
</a>
53-
<a class="list-group-item" href="/reports">
53+
<a class="list-group-item" href="/new/reports">
5454
<i aria-hidden="true" class="fa fa-object-group fa-fw"></i> GESTIÓN REPORTES
5555
</a>
5656
</span>
@@ -69,7 +69,7 @@
6969
<img alt="" class="img-responsive" src="/api/articles/{{article.id_ARTICLE}}/image">
7070
</figure>
7171
<div class="full-width post-info">
72-
<a class="full-width post-info-title" href="/post/{{article.id_ARTICLE}}">{{article.title}}</a>
72+
<a class="full-width post-info-title" href="/new/post/{{article.id_ARTICLE}}">{{article.title}}</a>
7373
<p class="full-width post-info-price">{{article.price}}€</p>
7474
<span class="post-info-zone">{{article.city}}</span>
7575
<span class="post-info-date">{{article.date}}</span>

angular/wallypop/src/app/components/category/category.component.html

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -39,23 +39,23 @@
3939
<div class="full-width list-group" style="border-radius: 0;">
4040
<!-- {{>nav_side}} -->
4141

42-
<a class="list-group-item" href="profile">
42+
<a class="list-group-item" href="/new/profile">
4343
<i aria-hidden="true" class="fa fa-user fa-fw"></i> TU PERFIL
4444
</a>
45-
<a class="list-group-item" href="yourcommercial">
45+
<a class="list-group-item" href="/new/yourcommercial">
4646
<i aria-hidden="true" class="fa fa-object-group fa-fw"></i> TUS ANUNCIOS
4747
</a>
48-
<a class="list-group-item" href="yourcommercialsold">
48+
<a class="list-group-item" href="/new/yourcommercialsold">
4949
<i aria-hidden="true" class="fa fa-object-group fa-fw"></i> TUS ANUNCIOS VENDIDOS
5050
</a>
51-
<a class="list-group-item" href="favorites">
51+
<a class="list-group-item" href="/new/favorites">
5252
<i aria-hidden="true" class="fa fa-heart-o fa-fw"></i> FAVORITOS
5353
</a>
5454
<span *ngIf="loginService.isAdmin()">
55-
<a class="list-group-item" href="/category">
55+
<a class="list-group-item" href="/new/category">
5656
<i aria-hidden="true" class="fa fa-object-group fa-fw"></i> GESTIÓN CATEGORÍAS
5757
</a>
58-
<a class="list-group-item" href="/reports">
58+
<a class="list-group-item" href="/new/reports">
5959
<i aria-hidden="true" class="fa fa-object-group fa-fw"></i> GESTIÓN REPORTES
6060
</a>
6161
</span>
@@ -67,18 +67,7 @@
6767
<div>GESTIÓN CATEGORÍAS</div>
6868
</div>
6969
<!-- Content -->
70-
<section class="full-width hidden-md hidden-lg Search-mobile">
71-
<form action="commercial" style="padding-top: 15px;">
72-
<div class="form-group">
73-
<input class="form-control input-lg" placeholder="Estoy buscado..." required="" type="text">
74-
</div>
75-
<div class="form-group">
76-
<input class="form-control input-lg" placeholder="Provincia, ciudad, distrito..." required=""
77-
type="text">
78-
</div>
79-
<button class="btn btn-danger btn-lg" type="submit">BUSCAR</button>
80-
</form>
81-
</section>
70+
<search></search>
8271
<!-- ====== Page content ======-->
8372
<section class="section">
8473
<h2 class="text-center text-light">CATEGORÍAS</h2>
@@ -94,7 +83,7 @@ <h3 class="text-info">Busca una categoría</h3>
9483
<div class="col-sm-7">
9584

9685
<div class="form-group">
97-
<a href="categoryList">VER LISTADO CATEGORÍAS</a>
86+
<a href="/new/categoryList">VER LISTADO CATEGORÍAS</a>
9887
</div>
9988
</div>
10089
</div>

angular/wallypop/src/app/components/category/categoryList.component.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,23 +38,23 @@
3838
</div>
3939
<div class="full-width list-group" style="border-radius: 0;">
4040
<!-- {{>nav_side}} -->
41-
<a class="list-group-item" href="/profile">
41+
<a class="list-group-item" href="/new/profile">
4242
<i aria-hidden="true" class="fa fa-user fa-fw"></i> TU PERFIL
4343
</a>
44-
<a class="list-group-item" href="/yourcommercial">
44+
<a class="list-group-item" href="/new/yourcommercial">
4545
<i aria-hidden="true" class="fa fa-object-group fa-fw"></i> TUS ANUNCIOS
4646
</a>
47-
<a class="list-group-item" href="/yourcommercialsold">
47+
<a class="list-group-item" href="/new/yourcommercialsold">
4848
<i aria-hidden="true" class="fa fa-object-group fa-fw"></i> TUS ANUNCIOS VENDIDOS
4949
</a>
50-
<a class="list-group-item" href="/favorites">
50+
<a class="list-group-item" href="/new/favorites">
5151
<i aria-hidden="true" class="fa fa-heart-o fa-fw"></i> FAVORITOS
5252
</a>
5353
<span *ngIf="loginService.isAdmin()">
54-
<a class="list-group-item" href="/category">
54+
<a class="list-group-item" href="/new/category">
5555
<i aria-hidden="true" class="fa fa-object-group fa-fw"></i> GESTIÓN CATEGORÍAS
5656
</a>
57-
<a class="list-group-item" href="/reports">
57+
<a class="list-group-item" href="/new/reports">
5858
<i aria-hidden="true" class="fa fa-object-group fa-fw"></i> GESTIÓN REPORTES
5959
</a>
6060
</span>
@@ -81,9 +81,9 @@
8181
<img alt="" class="img-responsive" src="/api/categories/{{category.id_CATEGORY}}/image">
8282
</figure>
8383
<div class="full-width post-info">
84-
<a class="full-width post-info-price" href="/commercial/{{category.id_CATEGORY}}">{{category.title}}</a>
84+
<a class="full-width post-info-price" href="/new/commercial/{{category.id_CATEGORY}}">{{category.title}}</a>
8585
<span class="post-info-zone">{{category.description}}</span>
86-
<a class="post-info-date" (click)="removeCategory(category)" href="/categoryList">x</a>
86+
<a class="post-info-date" (click)="removeCategory(category)" href="/new/categoryList">x</a>
8787

8888
</div>
8989
</div>

angular/wallypop/src/app/components/index/index.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ <h3 class="text-center text-light">Haz tuyo lo de los demás…</h3>
1616
<h2 class="text-center text-light">Todas las categorías que imaginas</h2>
1717
<div class="container">
1818
<div class="full-width container-category">
19-
<a *ngFor="let category of categories" href="/commercial/{{category.id_CATEGORY}}" id="categori-{{category.id_CATEGORY}}">
19+
<a *ngFor="let category of categories" href="/new/commercial/{{category.id_CATEGORY}}" id="categori-{{category.id_CATEGORY}}">
2020
<i aria-hidden="true" class="fa fa-{{category.icon}}"></i>
2121
<span>{{category.title}}</span>
2222
</a>

angular/wallypop/src/app/components/login/login.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ <h4 class="text-center text-light">INICIAR SESIÓN</h4>
4747
</ng-template>
4848
<ng-template #elseBlockLogin>
4949
<h4 class="text-center text-light">BIENVENIDO {{loginService.currentUser().full_NAME}}</h4>
50-
<a href="/">Inicio</a><a href="/profile">Mi perfil</a>
50+
<a href="/new/">Inicio</a><a href="/new/profile">Mi perfil</a>
5151
</ng-template>
5252
<br>
5353
<form *ngIf="!loginService.isLogged()">
@@ -60,7 +60,7 @@ <h4 class="text-center text-light">BIENVENIDO {{loginService.currentUser().full_
6060
required="" type="password">
6161
</div>
6262
<button (click)="logIn($event, email.value, password.value)" class="btn btn-danger btn-lg" type="submit">INICIAR SESIÓN</button>
63-
<a class="text-center" href="newaccount">Si eres nuevo ¡Crea una cuenta!</a>
63+
<a class="text-center" href="/new/newaccount">Si eres nuevo ¡Crea una cuenta!</a>
6464
</form>
6565
</div>
6666
</div>

0 commit comments

Comments
 (0)