s-celles / wnb

Weight and balance progressive web application for light aircrafts (SEP, gliders...)
GNU General Public License v3.0
2 stars 0 forks source link

Left panel links #9

Open s-celles opened 3 years ago

s-celles commented 3 years ago

left panel should show link to wnb Github repository https://github.com/scls19fr/wnb and maybe also a link to wnb-data-acp https://github.com/scls19fr/wnb-data-acp and to doc (wiki) https://github.com/scls19fr/wnb/wiki

s-celles commented 3 years ago

See https://github.com/scls19fr/wnb/blob/master/src/layouts/MyLayout.vue (MainLayout?)

s-celles commented 3 years ago

Add aircraft data url to left panel link

Add to data/aircrafts.ts

export const aircraftDataRepositoryURL = 'https://github.com/scls19fr/wnb-data-acp';
export const aircraftDataRepositoryCaption = 'github.com/scls19fr/wnb-data-acp';

Add to layouts/MyLayout.vue

        <q-item clickable tag="a" target="_blank" :href=aircraftDataRepositoryURL>
          <q-item-section avatar>
            <q-icon name="code" />
          </q-item-section>
          <q-item-section>
            <q-item-label>{{ $t('aircraft_data') }}</q-item-label>
            <q-item-label caption>{{ Aircraft.aircraftDataRepositoryCaption }}</q-item-label>
          </q-item-section>
        </q-item>