diff options
author | Elias Nahum <nahumhbl@gmail.com> | 2016-01-24 17:10:54 -0300 |
---|---|---|
committer | Elias Nahum <nahumhbl@gmail.com> | 2016-01-24 17:10:54 -0300 |
commit | 470349d105642d7a293983a8a1f8a369dc789621 (patch) | |
tree | de439b175e98dd735b3544592e74d888567ab909 /api/templates/find_teams_body.html | |
parent | eb58e631e74d9a5ff0992a67cd9452b3a525c5e6 (diff) | |
download | chat-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.html | 10 |
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> |