Help wanted #23

Merged
danieljsummers merged 20 commits from help-wanted into main 2021-09-01 01:16:43 +00:00
3 changed files with 14 additions and 13 deletions
Showing only changes of commit 5485ad0717 - Show all commits

View File

@ -5,15 +5,15 @@
<nav> <nav>
<template v-if="isLoggedOn"> <template v-if="isLoggedOn">
<router-link to="/citizen/dashboard"><icon icon="view-dashboard-variant" />&nbsp; Dashboard</router-link> <router-link to="/citizen/dashboard"><icon icon="view-dashboard-variant" />&nbsp; Dashboard</router-link>
<router-link to="/citizen/profile"><icon icon="pencil" />&nbsp; My Profile</router-link>
<router-link to="/profile/search" class="separator">
<icon icon="view-list-outline" />&nbsp; View Profiles
</router-link>
<router-link to="/help-wanted"> <router-link to="/help-wanted">
<icon icon="newspaper-variant-multiple-outline" />&nbsp; Help Wanted! <icon icon="newspaper-variant-multiple-outline" />&nbsp; Help Wanted!
</router-link> </router-link>
<router-link to="/listings/mine" class="separator"><icon icon="sign-text" />&nbsp; My Job Listings</router-link> <router-link to="/profile/search"><icon icon="view-list-outline" />&nbsp; Employment Profiles</router-link>
<router-link to="/success-story/list"><icon icon="thumb-up" />&nbsp; Success Stories</router-link> <router-link to="/success-story/list"><icon icon="thumb-up" />&nbsp; Success Stories</router-link>
<div class="separator"></div>
<router-link to="/listings/mine"><icon icon="sign-text" />&nbsp; My Job Listings</router-link>
<router-link to="/citizen/profile"><icon icon="pencil" />&nbsp; My Employment Profile</router-link>
<div class="separator"></div>
<router-link to="/citizen/log-off"><icon icon="logout-variant" />&nbsp; Log Off</router-link> <router-link to="/citizen/log-off"><icon icon="logout-variant" />&nbsp; Log Off</router-link>
</template> </template>
<template v-else> <template v-else>
@ -68,7 +68,7 @@ nav > a
width: 100% width: 100%
border-radius: .25rem border-radius: .25rem
padding: .5rem padding: .5rem
margin-bottom: 1rem margin: .5rem 0
font-size: 1rem font-size: 1rem
> i > i
vertical-align: top vertical-align: top
@ -79,6 +79,7 @@ nav > a
background-color: rgba(255, 255, 255, .5) background-color: rgba(255, 255, 255, .5)
color: black color: black
text-decoration: none text-decoration: none
nav > a.separator nav > div.separator
border-bottom: solid 1px white border-bottom: solid 1px rgba(255, 255, 255, .75)
height: 1px
</style> </style>

View File

@ -1,7 +1,7 @@
<template> <template>
<article> <article>
<page-title title="Edit Profile" /> <page-title title="Edit Profile" />
<h3 class="pb-3">Employment Profile</h3> <h3 class="pb-3">My Employment Profile</h3>
<load-data :load="retrieveData"> <load-data :load="retrieveData">
<form class="row g-3"> <form class="row g-3">
<div class="col-12 col-sm-10 col-md-8 col-lg-6"> <div class="col-12 col-sm-10 col-md-8 col-lg-6">

View File

@ -6,10 +6,9 @@
<h4 class="pb-3 text-muted">{{it.continent.name}} / {{it.listing.region}}</h4> <h4 class="pb-3 text-muted">{{it.continent.name}} / {{it.listing.region}}</h4>
<p> <p>
<template v-if="it.listing.neededBy"> <template v-if="it.listing.neededBy">
<strong><em>NEEDED BY {{formatNeededBy(it.listing.neededBy)}}</em></strong> &bull;&nbsp; <strong><em>NEEDED BY {{neededBy(it.listing.neededBy)}}</em></strong> &bull;
</template> </template>
Listed by {{citizenName(citizen)}} &ndash; Listed by <a :href="profileUrl" target="_blank">{{citizenName(citizen)}}</a>
<a :href="`https://noagendasocial.com/@${citizen.naUser}`" target="_blank">View No Agenda Social profile</a>
</p> </p>
<hr> <hr>
<div v-html="details"></div> <div v-html="details"></div>
@ -80,8 +79,9 @@ export default defineComponent({
it, it,
details: computed(() => marked(it.value?.listing.text || '', markedOptions)), details: computed(() => marked(it.value?.listing.text || '', markedOptions)),
citizen, citizen,
profileUrl: computed(() => citizen.value ? `https://noagendasocial.com/@${citizen.value.naUser}` : ''),
citizenName, citizenName,
formatNeededBy neededBy: (nb : string) => formatNeededBy(nb).toUpperCase()
} }
} }
}) })