diff --git a/app/templates/common/icons.html b/app/templates/common/icons.html index 52ef0a8..67cbc66 100644 --- a/app/templates/common/icons.html +++ b/app/templates/common/icons.html @@ -9,3 +9,15 @@ {%- macro icn_error(width=48) -%} {%- endmacro -%} + +{%- macro icn_bookmark(width=16) -%} + +{%- endmacro -%} + +{%- macro icn_locked(width=16) -%} + +{%- endmacro -%} + +{%- macro icn_stickied(width=16) -%} + +{%- endmacro -%} diff --git a/app/templates/common/macros.html b/app/templates/common/macros.html index c63bed9..5415d8e 100644 --- a/app/templates/common/macros.html +++ b/app/templates/common/macros.html @@ -1,4 +1,4 @@ -{%- from 'common/icons.html' import icn_info, icn_warn, icn_error -%} +{%- from 'common/icons.html' import icn_info, icn_warn, icn_error, icn_bookmark -%} {% macro timestamp(unix_ts) -%} @@ -154,7 +154,7 @@ {%- if can_delete -%} Delete {%- endif -%} - + {%- endif -%} diff --git a/app/templates/threads/thread.html b/app/templates/threads/thread.html index a6c4f3e..8d67999 100644 --- a/app/templates/threads/thread.html +++ b/app/templates/threads/thread.html @@ -1,4 +1,5 @@ {%- from 'common/macros.html' import subheader, timestamp, pager, babycode_editor_component -%} +{%- from 'common/icons.html' import icn_bookmark -%} {%- from 'common/macros.html' import full_post with context -%} {%- extends 'base.html' -%} {%- block title -%}{{thread.title}}{%- endblock -%} @@ -24,7 +25,7 @@ Edit {%- endif -%} - + {%- endif -%} Subscribe via RSS diff --git a/app/templates/topics/topic.html b/app/templates/topics/topic.html index 11e56ec..226d53f 100644 --- a/app/templates/topics/topic.html +++ b/app/templates/topics/topic.html @@ -1,4 +1,5 @@ {% from 'common/macros.html' import timestamp, subheader, pager %} +{% from 'common/icons.html' import icn_locked, icn_stickied %} {%- extends 'base.html' -%} {%- block title -%}browsing topic {{topic.name}}{%- endblock -%} {%- block content -%} @@ -48,7 +49,14 @@ {%- for thread in threads -%}