FEATURE: More improvements to crawler and old browsers view
Related to c85018cdfd
.
This commit is contained in:
parent
238cbff46f
commit
fe51f7a863
|
@ -1,6 +1,6 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
// Any IE only polyfill should be moved in discourse-internet-explorer plugin
|
// Any IE only polyfill should be moved in discourse-unsupported-browser plugin
|
||||||
|
|
||||||
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/flags#Polyfill
|
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/flags#Polyfill
|
||||||
// IE and EDGE
|
// IE and EDGE
|
||||||
|
|
|
@ -142,12 +142,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.link-bottom-line {
|
|
||||||
.category-name {
|
|
||||||
margin-right: 12px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.unread-indicator {
|
.unread-indicator {
|
||||||
&.read {
|
&.read {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
|
@ -11,6 +11,10 @@ body.crawler {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.header-buttons {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
div#main-outlet {
|
div#main-outlet {
|
||||||
div.post {
|
div.post {
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
|
@ -29,10 +33,6 @@ body.crawler {
|
||||||
margin-top: 4em;
|
margin-top: 4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.category-title {
|
|
||||||
color: $primary;
|
|
||||||
}
|
|
||||||
|
|
||||||
.discourse-tags {
|
.discourse-tags {
|
||||||
color: $primary-medium;
|
color: $primary-medium;
|
||||||
}
|
}
|
||||||
|
|
|
@ -69,7 +69,9 @@
|
||||||
<% if (!@category || @category.has_children?) && t.category %>
|
<% if (!@category || @category.has_children?) && t.category %>
|
||||||
<a href='<%= t.category.url %>' class='badge-wrapper bullet'>
|
<a href='<%= t.category.url %>' class='badge-wrapper bullet'>
|
||||||
<span class='badge-category-bg' style='background-color: #<%= t.category.color %>'></span>
|
<span class='badge-category-bg' style='background-color: #<%= t.category.color %>'></span>
|
||||||
<span class='category-title'><%= t.category.name %></span>
|
<span class='badge-category clear-badge'>
|
||||||
|
<span class='category-name'><%= t.category.name %></span>
|
||||||
|
</span>
|
||||||
</a>
|
</a>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if t.tags %>
|
<% if t.tags %>
|
||||||
|
@ -99,10 +101,10 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<span class='views' title='<%= t 'views' %>'><%= t.views %></span>
|
<span class='posts' title='<%= t 'posts' %>'><%= t.posts_count %></span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<span class='posts' title='<%= t 'posts' %>'><%= t.posts_count %></span>
|
<span class='views' title='<%= t 'views' %>'><%= t.views %></span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<%= I18n.l(t.last_posted_at || t.created_at, format: :date_only) %>
|
<%= I18n.l(t.last_posted_at || t.created_at, format: :date_only) %>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
<span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
||||||
<a href="<%= Discourse.base_url %><%= c[:url] %>" class="badge-wrapper bullet" itemprop="item">
|
<a href="<%= Discourse.base_url %><%= c[:url] %>" class="badge-wrapper bullet" itemprop="item">
|
||||||
<span class="badge-category-bg" style='background-color: #<%= c[:color] %>'></span>
|
<span class="badge-category-bg" style='background-color: #<%= c[:color] %>'></span>
|
||||||
<span class="category-title" itemprop="name"><%= c[:name] %></span>
|
<span class="category-name" itemprop="name"><%= c[:name] %></span>
|
||||||
</a>
|
</a>
|
||||||
<meta itemprop="position" content="<%= i + 1 %>" />
|
<meta itemprop="position" content="<%= i + 1 %>" />
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -3052,7 +3052,7 @@ en:
|
||||||
today: "Today"
|
today: "Today"
|
||||||
other_periods: "see top"
|
other_periods: "see top"
|
||||||
|
|
||||||
browser_update: 'Unfortunately, <a href="https://www.discourse.org/faq/#browser">your browser is too old to work on this site</a>. Please <a href="https://browsehappy.com">upgrade your browser</a>.'
|
browser_update: 'Unfortunately, <a href="https://www.discourse.org/faq/#browser">your browser is too old to work on this site</a>. Please <a href="https://browsehappy.com">upgrade your browser</a> to view rich content, login, and reply.'
|
||||||
|
|
||||||
permission_types:
|
permission_types:
|
||||||
full: "Create / Reply / See"
|
full: "Create / Reply / See"
|
||||||
|
|
Loading…
Reference in New Issue