Project for the UPV to develop an app like BlaBlaCar but only for UPV people.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

minor changes on notifications

+7 -5
+3 -1
upvcarshare/static/src/js/journeys/journeys.component.js
··· 7 7 templateUrl: "/partials/journeys/origin_destiny_select.html", 8 8 bindings: { 9 9 originField: '@', 10 - destinyField: '@' 10 + originFieldId: '@', 11 + destinyField: '@', 12 + destinyFieldId: '@' 11 13 } 12 14 }; 13 15
+1 -1
upvcarshare/static/src/js/journeys/journeys.controller.js
··· 59 59 changeDestiny() { 60 60 if (this.campus.indexOf(this.destinySelected) != -1) { 61 61 this.destinyFieldValue = "campus:" + this.destinySelected.id; 62 - } else if (this.residences.indexOf(this.originSelected) != -1) { 62 + } else if (this.residences.indexOf(this.destinySelected) != -1) { 63 63 this.destinyFieldValue = "residence:" + this.destinySelected.id; 64 64 } 65 65 }
+3 -3
upvcarshare/templates/journeys/templatetags/item.html
··· 11 11 </a> 12 12 </div> 13 13 <div class="col-sm-6"> 14 - <h4> 14 + <h4>{{ journey_item.description }}</h4> 15 + <p class="lead"> 15 16 {% if journey_item.disabled%}<span class="label label-danger">{% trans "Cancelado" %}</span>{% endif %} 16 17 {% if journey_item|is_passenger:request.user %}<span class="label label-success">{% trans "Apuntado" %}</span>{% endif %} 17 18 {{ journey_item.departure }} 18 - </h4> 19 - <p class="lead">{{ journey_item.description }}</p> 19 + </p> 20 20 <table class="table table-sm"> 21 21 <tbody> 22 22 {% if not journey_item.needs_driver %}