Spaces:
Runtime error
Runtime error
Download app/templates/_post.html from Nasma/exampletest: direct link, hf CLI and curl.
- Browser
- Download file 1.28 kB
-
https://huggingface.co/spaces/Nasma/exampletest/resolve/main/app/templates/_post.html
- Command line
-
hf download hf://spaces/Nasma/exampletest/app/templates/_post.html
-
curl -L -o _post.html https://huggingface.co/spaces/Nasma/exampletest/resolve/main/app/templates/_post.html
1.28 kB
| <table class="table table-hover"> | |
| <tr> | |
| <td width="70px"> | |
| <a href="{{ url_for('main.user', username=post.author.username) }}"> | |
| <img src="{{ post.author.avatar(70) }}" /> | |
| </a> | |
| </td> | |
| <td> | |
| {% set user_link %} | |
| <a href="{{ url_for('main.user', username=post.author.username) }}"> | |
| {{ post.author.username }} | |
| </a> | |
| {% endset %} | |
| {{ _('%(username)s said %(when)s', | |
| username=user_link, when=moment(post.timestamp).fromNow()) }} | |
| <br> | |
| <span id="post{{ post.id }}">{{ post.body }}</span> | |
| {% if post.language and post.language != g.locale %} | |
| <br><br> | |
| <span id="translation{{ post.id }}"> | |
| <a href="javascript:translate( | |
| 'post{{ post.id }}', | |
| 'translation{{ post.id }}', | |
| '{{ post.language }}', | |
| '{{ g.locale }}');">{{ _('Translate') }}</a> | |
| </span> | |
| {% endif %} | |
| </td> | |
| </tr> | |
| </table> | |