This repository has been archived by the owner on Feb 8, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: show job openings for which i am sponsor of on dashboard (#1285)
- Loading branch information
Showing
10 changed files
with
187 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
67 changes: 67 additions & 0 deletions
67
resources/js/Pages/Dashboard/Me/Partials/JobOpeningSponsor.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<style lang="scss" scoped> | ||
.job-opening-item:first-child:hover { | ||
border-top-left-radius: 10px; | ||
border-top-right-radius: 10px; | ||
} | ||
.job-opening-item:last-child { | ||
border-bottom: 0; | ||
&:hover { | ||
border-bottom-left-radius: 10px; | ||
border-bottom-right-radius: 10px; | ||
} | ||
} | ||
.reference-number { | ||
padding: 2px 6px; | ||
border-radius: 6px; | ||
top: -4px; | ||
background-color: #ddf4ff; | ||
color: #0969da; | ||
} | ||
</style> | ||
|
||
<template> | ||
<div class="mb5"> | ||
<div class="cf mw7 center mb2 fw5"> | ||
<span class="mr1"> | ||
🧑🎓 | ||
</span> {{ $t('dashboard.job_opening_sponsor_title') }} | ||
|
||
<help :url="$page.props.help_links.worklogs" /> | ||
</div> | ||
|
||
<div class="cf mw7 center br3 mb3 bg-white box"> | ||
<ul class="list ma0 pl0"> | ||
<li v-for="jobOpening in jobOpenings" :key="jobOpening.id" class="pa3 job-opening-item bb bb-gray bb-gray-hover"> | ||
<div> | ||
<div :class="jobOpening.team ? 'mb2': ''" class="db"> | ||
<inertia-link :href="jobOpening.url" class="mr2">{{ jobOpening.title }}</inertia-link> | ||
<span v-if="jobOpening.reference_number" class="reference-number f7 code fw4">{{ jobOpening.reference_number }}</span> | ||
</div> | ||
|
||
<p v-if="jobOpening.team" class="ma0 f7 gray">For <inertia-link :href="jobOpening.team.url">{{ jobOpening.team.name }}</inertia-link></p> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import Help from '@/Shared/Help'; | ||
export default { | ||
components: { | ||
Help, | ||
}, | ||
props: { | ||
jobOpenings: { | ||
type: Object, | ||
default: null, | ||
}, | ||
}, | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters