Skip to content

Commit

Permalink
PackageDetail: add note that user can click on dependecies and versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dmstern committed Nov 26, 2018
1 parent 5806dfe commit 0e002b2
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion src/views/PackageDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,14 @@
</v-tab-item>
<v-tab-item>
<v-card-text v-if="data.currentPackage.dependenciesCount">
<v-alert
type="info"
:value="true"
outline
dismissible
>
<strong>Tip:</strong> Click on a dependency to view it's package page
</v-alert>
<h2>Dependencies</h2>
<router-link
v-for="(version, key) in data.currentPackage.dependencies"
Expand Down Expand Up @@ -172,13 +180,21 @@
</router-link>
</v-card-text>
<v-card-text v-else>
<v-alert :value="true" type="info">
<v-alert :value="true" type="info" :outline="true">
This package has no dependencies.
</v-alert>
</v-card-text>
</v-tab-item>
<v-tab-item>
<v-card-text>
<v-alert
type="info"
:value="true"
:outline="true"
dismissible
>
<strong>Tip:</strong> Click on a version number to view a previous version's package page
</v-alert>
<h2>Current Tags</h2>
<v-list>
<v-list-tile
Expand Down

0 comments on commit 0e002b2

Please sign in to comment.