Skip to content

Commit

Permalink
fixes #447
Browse files Browse the repository at this point in the history
- added donation buttons
  • Loading branch information
sercan committed Aug 6, 2018
1 parent 54e8c1e commit 3baa931
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 32 deletions.
90 changes: 58 additions & 32 deletions client/imports/views/pages/database_stats/database_stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -199,42 +199,68 @@ <h1>{{_ "stats_disabled"}}</h1>
</div>
{{/if}}
{{else}}
<div class="wrapper wrapper-content animated fadeInRight">
<div class="row">
<div class="col-lg-12">
<div class="text-center m-t-lg">
<h1>
<img width="225" height="150" src="/logo/new/image_with_text2.png"/>
</h1>
{{#if isSubscribed}}
<small>
{{{_ "connect_info"}}}
</small>
<br/>
<br/>
<button type="button" class="btn btn-primary ladda-button" disabled
data-style="contract">{{_ "thanks-for-subscription"}}
</button>
{{else}}
<small>
{{{_ "subscribe_info"}}}
</small>
<div class="row">
<div class="col-lg-offset-4 col-lg-4">
<input id="txtEmailToSubscribe" type="email"
placeholder="{{_ "email_we_hate_spam"}}"
class="form-control required"/>
</div>
</div>
<br/>
<button id="btnSubscribe" type="button" class="btn btn-primary ladda-button"
data-style="contract">{{_ "subscribe"}}
</button>
{{/if}}
<div class="wrapper wrapper-content animated fadeInRight">
<div class="row">
<div class="col-lg-12">
<div class="text-center m-t-lg">
<h1>
<img width="225" height="150" src="/logo/new/image_with_text2.png"/>
</h1>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-lg-offset-3">
<div class="text-center m-t-lg">
<div class="panel panel-primary">
<div class="panel-heading">
{{{_ "help_us"}}}
</div>
<div class="panel-body">
<p>{{{_ "donation_info"}}}</p>
<p>
<b>BTC: </b><i>34RHhcvbS5kYFEgRXQURnpcGkn3LvMQB4k </i><br/><br/>
<b>ETH / ERC-20: </b><i>0xA5B7922F058b4675DcE7ACfDC6d43E9b8eC68De6</i><br/><br/>
<b>NEO: </b><i>AQvAHSXchhdLJP6BJdc1LRzhrPsaMhPzr6</i><br/><br/>
<b>Paypal: </b><a href="https://www.paypal.com/donate/?token=gEPXBxx6_-pJAhCi8JP_bb8DZWUZ09rdEZeMxeHzPECcb6MaaMuq4u9Q4chOXYG2buarZG&country.x=GB&locale.x=GB">Donate</a>
</p>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="text-center m-t-lg">
{{#if isSubscribed}}
<small>
{{{_ "connect_info"}}}
</small>
<br/>
<br/>
<button type="button" class="btn btn-primary ladda-button" disabled
data-style="contract">{{_ "thanks-for-subscription"}}
</button>
{{else}}
<small>
{{{_ "subscribe_info"}}}
</small>
<div class="row">
<div class="col-lg-offset-4 col-lg-4">
<input id="txtEmailToSubscribe" type="email"
placeholder="{{_ "email_we_hate_spam"}}"
class="form-control required"/>
</div>
</div>
<br/>
<button id="btnSubscribe" type="button" class="btn btn-primary ladda-button"
data-style="contract">{{_ "subscribe"}}
</button>
{{/if}}
</div>
</div>
</div>
</div>
{{/if}}
{{/if}}

Expand Down
2 changes: 2 additions & 0 deletions i18n/en.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@
"user_management_default_tree_text":"Select a role or resource or privilege to see the details",

// blaze
"donation_info":"We need your help ! Day by day it's getting harder to maintain an open source project and we need your help, every donated penny will be spent to the server and development costs, nothing else.<br/><b>Now we accept <b>crypto currencies</b>",
"help_us":"Help Us",
"hint_info":"The <b>index</b> to use for the query",
"update_operator_info": "Use with operators such as <b>$set</b>",
"comment":"Comment",
Expand Down
2 changes: 2 additions & 0 deletions i18n/tr.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@


// blaze
"donation_info":"Yardımınıza ihtiyacımız var ! Gün geçtikçe açık kaynak kodlu bu yazılımı geliştirmemiz zorlaşıyor, verdiğiniz her kuruş kesinlikle server ve geliştirme ücretlerinin karşılanmasında kullanılacak.<br/><b>Artık, crypto paraları da kabul ediyoruz !</b>",
"help_us":"Yardımınız Gerekiyor",
"hint_info":"Sorgu için kullanılacak <b>indexi</b> belirler",
"update_operator_info": "Update operatörlerinden biriyle kullanın, örneğin; <b>$set</b>",
"comment":"Yorum",
Expand Down

0 comments on commit 3baa931

Please sign in to comment.