Browse Source

style consistency

fix-133-memory-crash
Dan Janosik 7 years ago
parent
commit
a920bcb747
  1. 2
      views/includes/block-content.pug
  2. 2
      views/transaction.pug

2
views/includes/block-content.pug

@ -9,7 +9,7 @@ ul(class='nav nav-tabs mb-3')
div(class="tab-content") div(class="tab-content")
div(id="tab-summary", class="tab-pane active", role="tabpanel") div(id="tab-summary", class="tab-pane active", role="tabpanel")
if (coinConfig.specialBlocks && coinConfig.specialBlocks[result.getblock.hash]) if (coinConfig.specialBlocks && coinConfig.specialBlocks[result.getblock.hash])
div(class="alert alert-info", style="padding-bottom: 0;") div(class="alert alert-primary", style="padding-bottom: 0;")
h4(class="alert-heading h5") #{coinConfig.specialBlocks[result.getblock.hash].noteTitle} h4(class="alert-heading h5") #{coinConfig.specialBlocks[result.getblock.hash].noteTitle}
if (coinConfig.specialBlocks[result.getblock.hash].noteBodyHtml) if (coinConfig.specialBlocks[result.getblock.hash].noteBodyHtml)
p !{coinConfig.specialBlocks[result.getblock.hash].noteBodyHtml} p !{coinConfig.specialBlocks[result.getblock.hash].noteBodyHtml}

2
views/transaction.pug

@ -41,7 +41,7 @@ block content
div(class="tab-content") div(class="tab-content")
div(id="tab-summary", class="tab-pane active", role="tabpanel") div(id="tab-summary", class="tab-pane active", role="tabpanel")
if (coinConfig.specialTransactions && coinConfig.specialTransactions[txid]) if (coinConfig.specialTransactions && coinConfig.specialTransactions[txid])
div(class="alert alert-info", style="padding-bottom: 0;") div(class="alert alert-primary", style="padding-bottom: 0;")
h4(class="alert-heading h5") #{coinConfig.specialTransactions[txid].noteTitle} h4(class="alert-heading h5") #{coinConfig.specialTransactions[txid].noteTitle}
if (coinConfig.specialTransactions[txid].noteBodyHtml) if (coinConfig.specialTransactions[txid].noteBodyHtml)
p !{coinConfig.specialTransactions[txid].noteBodyHtml} p !{coinConfig.specialTransactions[txid].noteBodyHtml}

Loading…
Cancel
Save