Hide new-proposal link for non-wallet users

This commit is contained in:
2017-05-20 21:25:48 +02:00
parent 3052c9dfc5
commit eda0f7a467
+10 -6
View File
@@ -23,9 +23,11 @@
confirmAction="confirmProposal"
contractInteractionEnabled=contractInteractionEnabled}}
<p class="actions">
{{#link-to 'proposals.new'}}Create new proposal{{/link-to}}
</p>
{{#if contractInteractionEnabled}}
<p class="actions">
{{#link-to 'proposals.new'}}Create new proposal{{/link-to}}
</p>
{{/if}}
</div>
</section>
{{/if}}
@@ -38,9 +40,11 @@
{{proposal-list proposals=proposalsClosedSorted
confirmAction="confirmProposal"}}
<p class="actions">
{{#link-to 'proposals.new'}}Create new proposal{{/link-to}}
</p>
{{#if contractInteractionEnabled}}
<p class="actions">
{{#link-to 'proposals.new'}}Create new proposal{{/link-to}}
</p>
{{/if}}
</div>
</section>