Add UUID to modaction html rendering. #393

Closed
wants to merge 2 commits into
from
@@ -31,7 +31,7 @@
bgcolor = 'rgb(%s,%s,%s)' % thing.bgcolor
%>
-<tr class="modactions" style="background-color: ${bgcolor}">
+<tr class="modactions" style="background-color: ${bgcolor}" data-fullname="${thing.fullname}">
<td class="timestamp whitespace:nowrap">${timestamp(thing.date)}&#32;ago</td>
%if is_multi:
<td class="subreddit">${plain_link('/r/' + thing.sr_name, thing.sr_path + 'about/log', title=thing.sr_name)}</td>
@@ -76,7 +76,8 @@
rowclass += " hidden"
%>
<div class="${self.thing_css_class(thing)} ${rowclass} ${unsafe(cls)} ${selflink}"
- ${thing.display} data-fullname="${thing._fullname}" onclick="click_thing(this)">
+ ${thing.display} data-fullname="${thing._fullname}" onclick="click_thing(this)"
+ ups="${thing._ups}" downs="${thing._downs}">
<p class="parent">
${self.ParentDiv()}
</p>