summaryrefslogtreecommitdiffstats
path: root/api/templates/find_teams_body.html
diff options
context:
space:
mode:
authorElias Nahum <nahumhbl@gmail.com>2016-01-24 17:10:54 -0300
committerElias Nahum <nahumhbl@gmail.com>2016-01-24 17:10:54 -0300
commit470349d105642d7a293983a8a1f8a369dc789621 (patch)
treede439b175e98dd735b3544592e74d888567ab909 /api/templates/find_teams_body.html
parenteb58e631e74d9a5ff0992a67cd9452b3a525c5e6 (diff)
downloadchat-470349d105642d7a293983a8a1f8a369dc789621.tar.gz
chat-470349d105642d7a293983a8a1f8a369dc789621.tar.bz2
chat-470349d105642d7a293983a8a1f8a369dc789621.zip
PLT-7: Refactoring api to use translations (chunk 4)
- Translation for api templates english and spanish
Diffstat (limited to 'api/templates/find_teams_body.html')
-rw-r--r--api/templates/find_teams_body.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/api/templates/find_teams_body.html b/api/templates/find_teams_body.html
index 0b52af033..1324091aa 100644
--- a/api/templates/find_teams_body.html
+++ b/api/templates/find_teams_body.html
@@ -17,14 +17,14 @@
<table border="0" cellpadding="0" cellspacing="0" style="padding: 20px 50px 0; text-align: center; margin: 0 auto">
<tr>
<td style="border-bottom: 1px solid #ddd; padding: 0 0 20px;">
- <h2 style="font-weight: normal; margin-top: 10px;">Finding teams</h2>
- <p>{{ if .Props }}
- Your request to find teams associated with your email found the following:<br>
- {{range $index, $element := .Props}}
+ <h2 style="font-weight: normal; margin-top: 10px;">{{.Props.Title}}</h2>
+ <p>{{ if .Extra }}
+ {{.Props.Found}}<br>
+ {{range $index, $element := .Extra}}
<a href="{{ $element }}" style="text-decoration: none; color:#2389D7;">{{ $index }}</a><br>
{{ end }}
{{ else }}
- We could not find any teams for the given email.
+ {{.Props.NotFound}}
{{ end }}
</p>
</td>