Skip to content

Commit

Permalink
fix hr
Browse files Browse the repository at this point in the history
  • Loading branch information
thelostone-mc committed Nov 24, 2021
1 parent df02065 commit e276966
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions app/grants/templates/grants/detail/template-grant-details.html
Original file line number Diff line number Diff line change
Expand Up @@ -357,11 +357,13 @@ <h3>About</h3>
</p>
[[grant.admin_message]]
</b-card-text>
<hr class="my-4">
</template>

<!-- Inactive Grant -->
<template v-if="!grant.active && !grant.verified">

<hr v-if="grant.admin_message" class="my-4">

<b-card-text>
<p class="font-weight-semibold mb-2">
<i class="fal fa-exclamation-circle mr-1"></i>
Expand All @@ -374,13 +376,13 @@ <h3>About</h3>
<a class="btn btn-block btn-primary" href="https://support.gitcoin.co/kb/article/79-why-isn-t-my-grant-active/" rel="noopener noreferrer">
Read Grant Approval Process
</a>

<hr class="my-4">

</template>

<!-- Verify Grant -->
<template v-if="grant.active && !grant.verified">

<hr v-if="!grant.active && !grant.verified" class="my-4">

<b-card-text>
<p class="font-weight-semibold mb-2">
<i class="fal fa-exclamation-circle mr-1 text-danger"></i>
Expand All @@ -404,12 +406,13 @@ <h3>About</h3>
</template>

</div>

<hr class="my-4">
</template>

<!-- Idle Grant -->
<template v-if="grant.active && grant.is_on_team && grant.is_idle">

<hr v-if="grant.active && !grant.verified" class="my-4">

<b-card-text>
<p class="font-weight-semibold mb-2">
<i class="fal fa-exclamation-circle mr-1 text-danger"></i>
Expand All @@ -420,12 +423,14 @@ <h3>About</h3>
</b-card-text>
<button class="btn btn-block btn-primary" @click="editGrantModal()" v-if="fullview">Update Grant</button>
<a class="btn btn-block btn-primary" :href="grant.details_url" target="_blank" v-else>Update Grant</a>
<hr class="my-4">
</template>


<!-- L2 contributions -->
<template v-if="grant.active && grant.is_on_team && grant.tenants.includes('ETH')">

<hr v-if="grant.active && grant.is_on_team && grant.is_idle" class="my-4">

<b-card-text>
<p class="font-weight-semibold mb-2">
<i class="fal fa-wallet mr-1"></i>
Expand All @@ -442,7 +447,7 @@ <h3>About</h3>

<!-- Edit Grant Button -->
<template v-if="grant.active && !grant.is_idle && (grant.is_on_team || isStaff)">
<hr class="my-4">
<hr v-if="grant.active && grant.is_on_team && grant.tenants.includes('ETH')" class="my-4">

<b-card-text>
<p class="font-weight-semibold mb-2">
Expand Down

0 comments on commit e276966

Please sign in to comment.