forked from rDrama/rDrama
fkag
parent
d154b46082
commit
b00a4199bc
|
@ -263,7 +263,7 @@
|
||||||
submitbutton=document.getElementById("reportPostButton");
|
submitbutton=document.getElementById("reportPostButton");
|
||||||
|
|
||||||
reason=document.getElementById("reason").value;
|
reason=document.getElementById("reason").value;
|
||||||
console.log(reason)
|
console.log(reason);
|
||||||
|
|
||||||
submitbutton.onclick = function() {
|
submitbutton.onclick = function() {
|
||||||
|
|
||||||
|
|
|
@ -3,11 +3,9 @@
|
||||||
<script>
|
<script>
|
||||||
var date = new Date('{{p.created_datetime}}');
|
var date = new Date('{{p.created_datetime}}');
|
||||||
document.getElementById('timestamp-{{p.id}}').title = date.toString();
|
document.getElementById('timestamp-{{p.id}}').title = date.toString();
|
||||||
document.getElementById('timestamp-{{p.id}}-2').title = date.toString();
|
|
||||||
{% if p.edited_utc %}
|
{% if p.edited_utc %}
|
||||||
var date = new Date('{{p.edited_datetime}}');
|
var date = new Date('{{p.edited_datetime}}');
|
||||||
document.getElementById('edited_timestamp-{{p.id}}').title = date.toString();
|
document.getElementById('edited_timestamp-{{p.id}}').title = date.toString();
|
||||||
document.getElementById('edited_timestamp-{{p.id}}-2').title = date.toString();
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -140,11 +138,11 @@
|
||||||
{% if p.is_repost %} <span class="badge border-warning border-1 text-small-extra"><a class="text-warning" href="{{p.reposts.permalink}}">repost</a></span>{% endif %}
|
{% if p.is_repost %} <span class="badge border-warning border-1 text-small-extra"><a class="text-warning" href="{{p.reposts.permalink}}">repost</a></span>{% endif %}
|
||||||
{% if p.active_flags %}<a class="btn btn-primary" href="javascript:void(0)" style="padding:1px 5px; font-size:10px;" onclick="document.getElementById('flaggers-{{p.id}}').classList.toggle('d-none')">{{p.active_flags}} Flags</a>{% endif %}
|
{% if p.active_flags %}<a class="btn btn-primary" href="javascript:void(0)" style="padding:1px 5px; font-size:10px;" onclick="document.getElementById('flaggers-{{p.id}}').classList.toggle('d-none')">{{p.active_flags}} Flags</a>{% endif %}
|
||||||
{% if p.author.is_deleted %}[deleted account]{% else %} <a {% if p.author.animatedname %}class="{% if p.author.patron %}patron{% else %}leaderboard{% endif %}"{% endif %} href="{{p.author.permalink}}" style="color: #{{p.author.namecolor}}; font-weight: bold;" class="user-name">{{p.author.username}}</a>{% if p.author.customtitle %}<bdi style="color: #{{p.author.titlecolor}}"> {{p.author.customtitle | safe}}</bdi>{% endif %}{% endif %}
|
{% if p.author.is_deleted %}[deleted account]{% else %} <a {% if p.author.animatedname %}class="{% if p.author.patron %}patron{% else %}leaderboard{% endif %}"{% endif %} href="{{p.author.permalink}}" style="color: #{{p.author.namecolor}}; font-weight: bold;" class="user-name">{{p.author.username}}</a>{% if p.author.customtitle %}<bdi style="color: #{{p.author.titlecolor}}"> {{p.author.customtitle | safe}}</bdi>{% endif %}{% endif %}
|
||||||
<span data-toggle="tooltip" data-placement="bottom" id="timestamp-{{p.id}}-2" title=""> {{p.age_string}}</span>
|
<span data-toggle="tooltip" data-placement="bottom" id="timestamp-{{p.id}}" title=""> {{p.age_string}}</span>
|
||||||
|
|
||||||
({% if p.realurl(v) %}<a href="/search/posts/?q=domain%3A{{p.domain}}&sort=new&t=all" target="_blank">{{p.domain}}</a>{% else %}text post{% endif %})
|
({% if p.realurl(v) %}<a href="/search/posts/?q=domain%3A{{p.domain}}&sort=new&t=all" target="_blank">{{p.domain}}</a>{% else %}text post{% endif %})
|
||||||
|
|
||||||
{% if p.edited_utc %} Edited <span data-toggle="tooltip" data-placement="bottom" id="edited_timestamp-{{p.id}}-2" title="">{{p.edited_string}}</span>{% endif %}
|
{% if p.edited_utc %} Edited <span data-toggle="tooltip" data-placement="bottom" id="edited_timestamp-{{p.id}}" title="">{{p.edited_string}}</span>{% endif %}
|
||||||
{{p.views}} views
|
{{p.views}} views
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue