Skip to content

Commit

Permalink
First attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
ramGranell committed Sep 8, 2023
1 parent c5303fc commit ea6d348
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/components/Records/Record/Organisations.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,18 @@
flat
outlined
>
<span
v-if="organisationLink.organisation.rorLink"
class="ror_icon"
>
<a
:href="organisationLink.organisation.rorLink"
>
<img
src="/assets/icons/ror-icon-rbg-24.png"
>
</a>
</span>
<a
:href="'/organisations/' + organisationLink.organisation.id"
target="_blank"
Expand Down Expand Up @@ -199,3 +211,9 @@ export default {
}
}
</script>
<style scoped>
.ror_icon {
white-space: nowrap;
color: crimson;
}
</style>
1 change: 1 addition & 0 deletions src/lib/GraphClient/queries/fragments/fragments.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"homepage",
"types",
"urlForLogo",
"rorLink",
{
"queryName": "countries",
"name": "countries",
Expand Down

0 comments on commit ea6d348

Please sign in to comment.