Skip to content

Commit

Permalink
Reverted created-links file. restructuing of title broke the ajax
Browse files Browse the repository at this point in the history
saving function
  • Loading branch information
Matt Phillips committed May 6, 2014
1 parent e2812e3 commit c675b46
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions perma_web/perma/templates/user_management/created-links.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ <h3>Perma links {{ verb }} by you</h3>
<thead>
<tr>
<th colspan="3">Links</th>

<th class="linky-abbr-title"><a href="?sort={% if sort == 'submitted_title' %}-{% endif %}submitted_title{% if search_query %}&q={{ search_query }}{% endif %}">Title</a></th>
<th class="linky-abbr-date-time"><a href="?sort={% if sort == 'creation_timestamp' %}-{% endif %}creation_timestamp{% if search_query %}&q={{ search_query }}{% endif %}">Created</a></th>
<th class="linky-abbr-date-time"><a href="?sort={% if sort == 'vested_timestamp' %}-{% endif %}vested_timestamp{% if search_query %}&q={{ search_query }}{% endif %}">Vested</a></th>
<th></th>
Expand All @@ -153,18 +153,17 @@ <h3>Perma links {{ verb }} by you</h3>
{% endif %}</td>
<td class="linky-abbr-vested">{% if link.vested and verb == 'created' %}<span class="fancy-infinity">&infin;</span>{% endif %}</td>
<td class="linky-link">

<input type="text" name="input" value="{{ link.submitted_title }}"><br/>
<span class="muted title-save-status"></span>

<a class="orange" href="http://{{request.mirror_server_host}}/{{link.guid}}" target="_blank">http://{{request.mirror_server_host}}/{{link.guid}}</a><br/>
<a href="{{ link.submitted_url }}" target="_blank" class="original-link">{{ link.submitted_url|truncatechars:200 }}</a>
</td>

<td class="linky-abbr-title">
<input type="text" name="input" value="{{ link.submitted_title }}"><br/>
<span class="muted title-save-status"></span><br/>
</td>

<td class="linky-abbr-date-time">{{ link.creation_timestamp|local_datetime:"MMM DD, YYYY" }}</td>
<td class="linky-abbr-date-time">{{ link.vested_timestamp|local_datetime:"MMM DD, YYYY" }}</td>
<td class="linky-details-link"><a href="#" class="details">notes</a></td>
<td class="linky-details-link"><a href="#" class="details">details</a></td>
</tr>
<tr class="link-details" {% if search_query in link.notes %}style="display:table-row"{% endif %}>
<td colspan="2"></td>
Expand Down

0 comments on commit c675b46

Please sign in to comment.