Preliminary topic view counts for the Cosora Theme.

Added the topic.view_count_suffix phrase.
This commit is contained in:
Azareal 2018-09-25 19:22:20 +10:00
parent 273a0b3637
commit 1d17e7f334
3 changed files with 11 additions and 2 deletions

View File

@ -288,6 +288,7 @@
"topics_last":"Last",
"topics_starter":"Starter",
"topic.like_count_suffix":" likes",
"topic.view_count_suffix":" views",
"topic.plus":"+",
"topic.plus_one":"+1",
"topic.gap_up":" up",

View File

@ -963,7 +963,15 @@ textarea {
line-height: 23px;
}
.topic_view_count {
display: none;
margin-left: 6px;
font-size: 13px;
margin-top: 4px;
}
.topic_view_count:before {
content: "("
}
.topic_view_count:after {
content: "{{index .Phrases "topic.view_count_suffix"}})";
}
.postImage {
width: 100%;

View File

@ -585,7 +585,7 @@ button, .formbutton, .panel_right_button:not(.has_inner_button) {
margin-top: 6px;
}
.topic_view_count:after {
content: " views";
content: "{{index .Phrases "topic.view_count_suffix"}}";
}
.topic_name_input {
width: 100%;