Help wanted #23
|
@ -5,15 +5,15 @@
|
||||||
<nav>
|
<nav>
|
||||||
<template v-if="isLoggedOn">
|
<template v-if="isLoggedOn">
|
||||||
<router-link to="/citizen/dashboard"><icon icon="view-dashboard-variant" /> Dashboard</router-link>
|
<router-link to="/citizen/dashboard"><icon icon="view-dashboard-variant" /> Dashboard</router-link>
|
||||||
<router-link to="/citizen/profile"><icon icon="pencil" /> My Profile</router-link>
|
|
||||||
<router-link to="/profile/search" class="separator">
|
|
||||||
<icon icon="view-list-outline" /> View Profiles
|
|
||||||
</router-link>
|
|
||||||
<router-link to="/help-wanted">
|
<router-link to="/help-wanted">
|
||||||
<icon icon="newspaper-variant-multiple-outline" /> Help Wanted!
|
<icon icon="newspaper-variant-multiple-outline" /> Help Wanted!
|
||||||
</router-link>
|
</router-link>
|
||||||
<router-link to="/listings/mine" class="separator"><icon icon="sign-text" /> My Job Listings</router-link>
|
<router-link to="/profile/search"><icon icon="view-list-outline" /> Employment Profiles</router-link>
|
||||||
<router-link to="/success-story/list"><icon icon="thumb-up" /> Success Stories</router-link>
|
<router-link to="/success-story/list"><icon icon="thumb-up" /> Success Stories</router-link>
|
||||||
|
<div class="separator"></div>
|
||||||
|
<router-link to="/listings/mine"><icon icon="sign-text" /> My Job Listings</router-link>
|
||||||
|
<router-link to="/citizen/profile"><icon icon="pencil" /> My Employment Profile</router-link>
|
||||||
|
<div class="separator"></div>
|
||||||
<router-link to="/citizen/log-off"><icon icon="logout-variant" /> Log Off</router-link>
|
<router-link to="/citizen/log-off"><icon icon="logout-variant" /> 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>
|
||||||
|
|
|
@ -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">
|
||||||
|
|
|
@ -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> •
|
<strong><em>NEEDED BY {{neededBy(it.listing.neededBy)}}</em></strong> •
|
||||||
</template>
|
</template>
|
||||||
Listed by {{citizenName(citizen)}} –
|
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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user