Skip to content

Instantly share code, notes, and snippets.

@rbnrivera
Created July 13, 2011 00:10
Show Gist options
  • Save rbnrivera/1079477 to your computer and use it in GitHub Desktop.
Save rbnrivera/1079477 to your computer and use it in GitHub Desktop.
Q&A
{% if agent_answer_count > 0 %}
<div class='replies agents'>
<h4>
{{ agent_answer_count }}
{{ site.agent_name_config }}
{{ 'Answer' | pluralize: agent_answer_count }}
</h4>
{% for answer in question.answers_agent %}
<div class='reply'>
<span class='gravatar-wrapper'>
{{ answer.from_email | gravatar_image: gravatar_unknown_user, ssl }}
</span>
<div class='answer-details'>
<div class='meta'>
<span>
{{ answer.from_name }}
</span>
<span class='date'>
{{ answer.updated_at | in_time_zone: site.timezone | date: '%b %d, %Y %I:%M%p %Z' }}
</span>
</div>
<p>{{ answer.body }}</p>
</div>
</div>
{% endfor %}
</div>
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment