~sircmpwn/hnstats

5975a74f0469cd652921b5e335efdd421c1f137b — Drew DeVault 6 years ago 00775ce
Add article title to URL change lists
2 files changed, 3 insertions(+), 0 deletions(-)

M templates/index.html
M templates/url-changes.html
M templates/index.html => templates/index.html +2 -0
@@ 60,6 60,7 @@
          {{ change.article_id }}
        </a>
      </td>
      <td>{{ change.article.title }}</td>
      <td><a href="{{ change.previous_url }}">{{ domain(change.previous_url) }}</a></td>
      <td style="width: 32px; vertical-align: middle;"><i class="fa fa-arrow-right"></i></td>
      <td><a href="{{ change.updated_url }}">{{ domain(change.updated_url) }}</a></td>


@@ 67,6 68,7 @@
    {% endfor %}
  </tbody>
</table>
<a href="/url-changes">View more <i class="fa fa-caret-right"></i></a>
<h3>Recently deleted posts</h3>
<table>
  <thead>

M templates/url-changes.html => templates/url-changes.html +1 -0
@@ 10,6 10,7 @@
          {{ change.article_id }}
        </a>
      </td>
      <td>{{ change.article.title }}</td>
      <td><a href="{{ change.previous_url }}">{{ domain(change.previous_url) }}</a></td>
      <td style="width: 32px; vertical-align: middle;"><i class="fa fa-arrow-right"></i></td>
      <td><a href="{{ change.updated_url }}">{{ domain(change.updated_url) }}</a></td>