
<div class="panel col-md-12">

    
    {% set pkg = c.pkg_dict %}

    {% set comment_list = h.dataset_comments(pkg.id, h.lang()) %}

    <div class="panel-heading"><h3><a id="comments"></a>{{ _('Comments') }}</h3></div>
    <div class="panel-body">
    {% if comment_list %}

      <ul class="list-group">
      {% for comment in comment_list %}
        <li class="list-group-item">
          <p>{{ comment['user']}}</p>
          <p>{{ comment['date'] }}</p>
          <p>{{ comment['comment_body']|striptags }}</p>
        </li>
      {% endfor %}
      </ul>

    {% endif %}
    
     <ul class="list-unstyled">
        <li><a href="/{% if h.lang() == 'fr' %}fra{% else %}eng{% endif %}/dataset/{{pkg.name}}"
          class="btn btn-default btn-lg">{{_('Submit Comment')}}</a></li>
     </ul>

</div>





<div class="panel col-md-12">

    
    {% set pkg = c.pkg_dict %}

    {% set comment_list = h.dataset_comments(pkg.id, h.lang()) %}

    <div class="panel-heading"><h3><a id="comments"></a>{{ _('Comments') }}</h3></div>
    <div class="panel-body">
    {% if comment_list %}

      <ul class="list-group">
      {% for comment in comment_list %}
        <li class="list-group-item">
          <p>{{ comment['user']}}</p>
          <p>{{ comment['date'] }}</p>
          <p>{{ comment['comment_body']|striptags }}</p>
        </li>
      {% endfor %}
      </ul>

    {% endif %}
    
     <ul class="list-unstyled">
        <li><a href="/{% if h.lang() == 'fr' %}fr{% else %}en{% endif %}/dataset/{{pkg.name}}"
          class="btn btn-default btn-lg">{{_('Submit Comment')}}</a></li>
     </ul>

</div>




Update comment path for VL for Open Government as per BH Ticket no. 631
Update comment path for VL for Open Government as per BH Ticket no. 631
