Skip to content

Commit

Permalink
minor ui tweak to extension details modal
Browse files Browse the repository at this point in the history
  • Loading branch information
roncodes committed Aug 6, 2024
1 parent 07a07e3 commit 50eb883
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions addon/components/modals/extension-details.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -41,25 +41,29 @@
<div class="space-y-2">
<div>
<div class="text-sm font-semibold dark:text-gray-100">{{t "registry-bridge.component.extension-details-modal.version"}}</div>
<div class="text-sm dark:text-gray-200">{{this.extension.current_bundle_version}}</div>
<div class="text-sm dark:text-gray-200">{{n-a this.extension.current_bundle_version}}</div>
</div>
<div>
<div class="text-sm font-semibold dark:text-gray-100">{{t "registry-bridge.component.extension-details-modal.updated"}}</div>
<div class="text-sm dark:text-gray-200">{{this.extension.updatedAt}}</div>
<div class="text-sm dark:text-gray-200">{{n-a this.extension.updatedAt}}</div>
</div>
</div>
<div class="space-y-2">
<div>
<div class="text-sm font-semibold dark:text-gray-100">{{t "registry-bridge.component.extension-details-modal.author"}}</div>
<div class="text-sm dark:text-gray-200">{{this.extension.publisher_name}}</div>
<div class="text-sm dark:text-gray-200">{{n-a this.extension.publisher_name}}</div>
</div>
<div>
<div class="text-sm font-semibold dark:text-gray-100">{{t "registry-bridge.component.extension-details-modal.website"}}</div>
<a
class="text-sm text-blue-400 hover:text-blue-300"
href={{this.extension.website_url}}
target={{dasherize (concat this.extension.name "-website")}}
>{{this.extension.website_url}}</a>
{{#if this.extension.website_url}}
<a
class="text-sm text-blue-400 hover:text-blue-300"
href={{this.extension.website_url}}
target={{dasherize (concat this.extension.name "-website")}}
>{{this.extension.website_url}}</a>
{{else}}
<div class="text-sm dark:text-gray-200">-</div>
{{/if}}
</div>
</div>
<div class="space-y-2">
Expand All @@ -69,7 +73,10 @@
"registry-bridge.component.extension-details-modal.self-managed"
}}</Badge>
{{#if @options.viewSelfManagesInstallInstructions}}
<a href="#" class="text-xs text-blue-400 hover:opacity-50" {{on "click" @options.viewSelfManagesInstallInstructions}}><FaIcon @icon="circle-info" class="mr-1" />How to install</a>
<a href="#" class="text-xs text-blue-400 hover:opacity-50" {{on "click" @options.viewSelfManagesInstallInstructions}}><FaIcon
@icon="circle-info"
class="mr-1"
/>How to install</a>
{{/if}}
</div>
{{/if}}
Expand Down

0 comments on commit 50eb883

Please sign in to comment.