diff --git a/template/module/nav.pug b/template/module/nav.pug index c7173f1..96eb3f7 100644 --- a/template/module/nav.pug +++ b/template/module/nav.pug @@ -8,31 +8,31 @@ header.header ) span.hide-small OTM .input.input-invis.row - input.col-6.small(v-model="journey_data.name", type="text") + input.col-6.small(v-model="journey.data.name", type="text") input.col-6.small( disabled, type="text", - :placeholder="total_date() + ' (' + total_days() + ')'" + :placeholder="journey.date_tot() + ' (' + journey.tot_len() + ')'" ) .row.header-nav.text-big(style="margin-bottom: 0") .col-sm-2 - a(:href="'/short/' + journey_id") + a(:href="'/short/' + journey.id") i.fas.fa-file-contract .col-sm-2 - a(:href="'/view/' + journey_id") + a(:href="'/view/' + journey.id") i.fas.fa-camera .col-sm-2 a(href="#main", v-on:click.prevent="first_step") i.fas.fa-tools .col-sm-1.text-small - a(href="#prevprev", v-on:click.prevent="prevprev_step") + a(href="#prevprev", v-on:click.prevent="journey.leg_prev()") i.fas.fa-angle-double-left .col-sm-1 - a(href="#prev", v-on:click.prevent="prev_step") + a(href="#prev", v-on:click.prevent="journey.day_prev()") i.fas.fa-angle-left .col-sm-1 - a(href="#next", v-on:click.prevent="next_step") + a(href="#next", v-on:click.prevent="journey.day_next()") i.fas.fa-angle-right .col-sm-1.text-small - a(href="#nextnext", v-on:click.prevent="nextnext_step") + a(href="#nextnext", v-on:click.prevent="journey.leg_next()") i.fas.fa-angle-double-right