<tr id="article-group-{{ g.url_path | replace('/', '-') | trim('-') }}">
  <td style="max-width:260px">
    <div style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500" title="{{ g.url_path }}">{{ g.title }}</div>
    <div class="article-subtitle">{{ g.url_path }}</div>
  </td>
  <td>
    {% for v in g.variants %}
    <div class="variant-row">
      <a href="{{ url_for('admin.article_edit', article_id=v.id) }}"
         class="lang-chip lang-chip-{{ v.display_status }}"
         title="Edit {{ v.language|upper }} variant">
        <span class="dot"></span>{{ v.language | upper }}
        {% if v.noindex %}<span class="noindex-tag">noindex</span>{% endif %}
      </a>
      {% if v.display_status == 'live' %}
      <a href="/{{ v.language or 'en' }}{{ v.url_path }}" target="_blank"
         class="btn-outline btn-sm view-lang-btn" title="View live article">View ↗</a>
      {% endif %}
      <a href="{{ url_for('admin.article_edit', article_id=v.id) }}"
         class="btn-outline btn-sm view-lang-btn">Edit</a>
    </div>
    {% endfor %}
  </td>
  <td class="mono">{{ g.published_at[:10] if g.published_at else '-' }}</td>
  <td class="text-slate">{{ g.template_slug or 'Manual' }}</td>
</tr>
