Commit a7ca5a8d authored by Dustyn Gibson's avatar Dustyn Gibson
Browse files

Fix group sometimes not showing in compact history

parent 998d26c9
......@@ -213,16 +213,10 @@
#for $action in sorted($hItem["actions"]):
#set $curStatus, $curQuality = $Quality.splitCompositeStatus(int($action["action"]))
#if $curStatus == DOWNLOADED:
#set $match = $re.search("\-(\w+)\.\w{3}\Z", $os.path.basename($action["resource"]))
#if $match
#if $match.group(1).upper() in ("X264", "720P"):
#set $match = $re.search("(\w+)\-.*\-"+$match.group(1)+"\.\w{3}\Z", $os.path.basename($hItem["resource"]), re.IGNORECASE)
#if $match
<span style="cursor: help;" title="$os.path.basename($action["resource"])"><i>$match.group(1).upper()</i></span>
#end if
#else:
<span style="cursor: help;" title="$os.path.basename($action["resource"])"><i>$match.group(1).upper()</i></span>
#end if
#if $action["provider"] != -1:
<span style="cursor: help;" title="$os.path.basename($action["resource"])"><i>$action["provider"]</i></span>
#else:
<span style="cursor: help;" title="$os.path.basename($action["resource"])"></span>
#end if
#end if
#end for
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment