frontend: add integration for adservice

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-08-16 18:01:03 -07:00
parent c9cd627453
commit 3e90b73464
No known key found for this signature in database
GPG key ID: 5C02521D7B216AD6
8 changed files with 374 additions and 121 deletions

View file

@ -0,0 +1,10 @@
{{ define "text_ad" }}
<div class="container">
<div class="alert alert-dark" role="alert">
<strong>Advertisement:</strong>
<a href="{{.RedirectUrl}}" rel="nofollow" target="_blank" class="alert-link">
{{.Text}}
</a>
</div>
</div>
{{ end }}