Permalink
Browse files

Highlight the output preview fields that would result in a change fro…

…m the original filename.
  • Loading branch information...
1 parent 949125c commit c7d5e6976d2605091d3a277dbda29784de266e1d @thezoggy thezoggy committed Sep 20, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 data/interfaces/default/testRename.tmpl
@@ -29,6 +29,7 @@
#for $cur_ep_obj in $ep_obj_list:
#set $curLoc = $cur_ep_obj.location[len($cur_ep_obj.show.location)+1:]
#set $curExt = $curLoc.split('.')[-1]
+#set $newLoc = $cur_ep_obj.proper_path() + '.' + $curExt
#if int($cur_ep_obj.season) != $curSeason:
<thead>
@@ -60,7 +61,7 @@
</td>
<td align="center" valign="top" class="nowrap"><%= "-".join(map(str, epList)) %></td>
<td width="50%" valign="top">$curLoc</td>
- <td width="50%" valign="top">$cur_ep_obj.proper_path().$curExt</td>
+ <td width="50%" valign="top" class="#if $curLoc == $newLoc then "" else "wanted"#">$newLoc</td>
</td>
</tr>
</tbody>

0 comments on commit c7d5e69

Please sign in to comment.