Skip to content

Commit

Permalink
Merge pull request #874 from NFDI4Chem/issue-#873
Browse files Browse the repository at this point in the history
fix: add the doi badge back
  • Loading branch information
NishaSharma14 authored Oct 16, 2023
2 parents 31eb9c6 + 892b7d0 commit 2773761
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 7 additions & 1 deletion resources/js/Pages/Project/Show.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
@click="toogleStarred"
/>
{{ project.name }}

<button
v-if="canUpdateProject"
type="button"
Expand All @@ -79,6 +78,13 @@
</button>
</div>

<span v-if="project.identifier"
class="text-gray-400 pt-2">
<img
:src="'/badge/doi/' + project.identifier"
/>
</span>

<div class="inline-flex items-center mt-3">
<access-dialogue
:available-roles="availableRoles"
Expand Down
3 changes: 3 additions & 0 deletions resources/js/Pages/Public/Project/Show.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
<h3 class="text-xl font-extrabold text-blue-gray-900">
About project
</h3>
<span class="text-gray-400 pt-2">
<img :src="'badge/doi/' + project.data.identifier" />
</span>
<div class="mt-2 space-y-8 divide-y divide-y-blue-gray-200">
<div
class="grid grid-cols-1 gap-y-6 sm:grid-cols-6 sm:gap-x-6"
Expand Down

0 comments on commit 2773761

Please sign in to comment.