File tree Expand file tree Collapse file tree 5 files changed +13
-13
lines changed
Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ class SicAppConfig(AppConfig):
116116
117117 ENABLE_KARMA = True
118118
119- VISIBLE_KARMA = False
119+ VISIBLE_KARMA = True
120120
121121 ENABLE_FETCHING_REMOTE_CONTENT = True
122122
Original file line number Diff line number Diff line change 5858 < div class ="comment "> {{ comment.text_to_html }}</ div >
5959 {% if request.user.is_authenticated %}
6060 < input class ="reply " type ="checkbox " id ="reply-{{comment.pk}} " name ="reply-{{comment.pk}} "
61- {% if preview %}checked ="checked "{% endif %} >
61+ {% if preview %}checked ="checked "{% endif %} >
6262 < form action ="{% url 'reply' comment.pk %} " method ="POST " class ="reply-form ">
6363 < label class ="reply " for ="reply-{{comment.pk}} " style ="align-self: end; position: absolute; "> < a href =""> hide</ a > </ label >
6464 < div class ="reply-parent ">
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ <h1 class="story-title"><a href="{{story.get_listing_url}}" rel="external nofoll
4141 </ ul >
4242 {% endif %}
4343 {% if story.requires_javascript %}
44- < span > ⚠️ This link requires Javascript to view.</ span >
44+ < span > ⚠️ This link requires Javascript to view.</ span >
4545 {% endif %}
4646 < div class ="links "> {% if story.user.avatar and show_avatars %}< img class ="avatar-small " src ="{{story.user.avatar}} " alt =""> {% endif %}{% if story.user_is_author %}authored by{% else %}via{% endif %} < a href ="{{ story.user.get_absolute_url }} " class ="user_link{% if story.user.is_banned %} banned-user{% elif story.user.is_new_user %} new-user{% endif %} "{% if story.user_is_author %} rel ="author "{% endif %} > {{ story.user }}</ a > < time datetime ="{{ story.created | date: "Y-m-d H:i:s " }}+0000" title="{{ story.created }} UTC+00:00 "> {{ story.created|naturaltime }}</ time > {% if story.user == request.user or request.user.is_moderator %}| < a href ="{% url 'edit_story' story_pk=story.pk slug=story.slugify %} "> edit</ a > {% endif%}| {% if request.user.is_authenticated %}flag | < form method ="POST " class ="bookmark_form " action ="{% url_with_next 'bookmark_story' request %} "> {% csrf_token %}< input type ="hidden " name ="story_pk " value ="{{ story.pk }} "> < input type ="submit " class ="bookmark_link " value ="{% if is_bookmarked %}un{% endif %}bookmark "> </ form > |{% endif %} {% if story.url %}< a rel ="nofollow external " href ="http://archive.is/timegate/{{ story.url }} "> archived</ a > |{% if story.remote_content %} < a rel ="nofollow " href ="{% url 'story_remote_content' story.pk story.slugify %} "> plain text cache</ a > {% if story.remote_content.w3m_content %}< a rel ="nofollow " href ="{% url 'story_remote_content_formatted' story.pk story.slugify %} "> (formatted)</ a > {% endif %}|{% endif %}{% endif %} < a rel ="nofollow " href ="{% url 'story_source' story.pk story.slugify %} "> source</ a > | < a href ="{{story.get_absolute_url}} " rel ="bookmark "> {{ comments.count }} comment{{ comments.count|pluralize }}</ a > </ div >
4747 </ header >
Original file line number Diff line number Diff line change 4040 </ details >
4141 {% endif %}
4242 {% if story.requires_javascript %}
43- < span > ⚠️ This link requires Javascript to view.</ span >
43+ < span > ⚠️ This link requires Javascript to view.</ span >
4444 {% endif %}
4545 </ div >
4646 < div class ="links "> {% if story.user.avatar and show_avatars %}< img class ="avatar-small " src ="{{story.user.avatar}} " alt ="" title ="{{ story.user.avatar_title_to_text|default_if_none:'' }} " height ="18 " width ="18 "> {% endif %}{% if story.user_is_author %}authored by{% else %}via{% endif %} < a href ="{{ story.user.get_absolute_url }} " class ="user_link{% if story.user.is_banned %} banned-user{% elif story.user.is_new_user %} new-user{% endif %} "> {{ story.user }}</ a > < time datetime ="{{ story.created | date: "Y-m-d H:i:s " }}+0000" title="{{ story.created }} UTC+00:00 "> {{ story.created|naturaltime }}</ time > | {% if request.user.is_authenticated %}flag | < form method ="POST " class ="bookmark_form " action ="{% url_with_next 'bookmark_story' request %} "> {% csrf_token %}< input type ="hidden " name ="story_pk " value ="{{ story.pk }} "> < input type ="submit " class ="bookmark_link " value ="{% if is_bookmarked %}un{% endif %}bookmark "> </ form > |{% endif %} {% if story.url %}< a rel ="nofollow external " href ="http://archive.is/timegate/{{ story.url }} " class ="archive_link "> archived</ a > |{% endif %} < a href ="{{story.get_absolute_url}} " class ="comments_link "> {% with story.active_comments.count as active_comments %}{{ active_comments }} comment{{ active_comments|pluralize }}{% endwith %}</ a > </ div >
Original file line number Diff line number Diff line change 88 var error = null ;
99 import ( "{% static 'tag_input_wasm.js' %}" )
1010 . then ( ( module ) => {
11- async function run ( ) {
12- let w = await module . default ( "{% static 'tag_input_wasm_bg.wasm' %}" ) ;
13- module . setup ( "parent" , "id_parents" , "parents_json" , false ) ;
14- }
15- return run ( ) ;
16- } ) . catch ( err => {
17- console . warn ( "Could not load tag input .wasm file.\n\nThe error is saved in the global variable `error` for more details. The page and submission form will still work.\n\nYou can use `console.dir(error)` to see what happened." ) ;
18- error = err ;
19- } ) ;
11+ async function run ( ) {
12+ let w = await module . default ( "{% static 'tag_input_wasm_bg.wasm' %}" ) ;
13+ module . setup ( "parent" , "id_parents" , "parents_json" , false ) ;
14+ }
15+ return run ( ) ;
16+ } ) . catch ( err => {
17+ console . warn ( "Could not load tag input .wasm file.\n\nThe error is saved in the global variable `error` for more details. The page and submission form will still work.\n\nYou can use `console.dir(error)` to see what happened." ) ;
18+ error = err ;
19+ } ) ;
2020 </ script >
2121{% endblock %}
2222{% block style %}
You can’t perform that action at this time.
0 commit comments