mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
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 */
|
||||
|
||||
// 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
|
||||
// IE and EDGE
|
||||
|
@ -142,12 +142,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.link-bottom-line {
|
||||
.category-name {
|
||||
margin-right: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
.unread-indicator {
|
||||
&.read {
|
||||
display: none;
|
||||
|
@ -11,6 +11,10 @@ body.crawler {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.header-buttons {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div#main-outlet {
|
||||
div.post {
|
||||
word-break: break-word;
|
||||
@ -29,10 +33,6 @@ body.crawler {
|
||||
margin-top: 4em;
|
||||
}
|
||||
|
||||
.category-title {
|
||||
color: $primary;
|
||||
}
|
||||
|
||||
.discourse-tags {
|
||||
color: $primary-medium;
|
||||
}
|
||||
|
@ -69,7 +69,9 @@
|
||||
<% if (!@category || @category.has_children?) && t.category %>
|
||||
<a href='<%= t.category.url %>' class='badge-wrapper bullet'>
|
||||
<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>
|
||||
<% end %>
|
||||
<% if t.tags %>
|
||||
@ -99,10 +101,10 @@
|
||||
<% end %>
|
||||
</td>
|
||||
<td>
|
||||
<span class='views' title='<%= t 'views' %>'><%= t.views %></span>
|
||||
<span class='posts' title='<%= t 'posts' %>'><%= t.posts_count %></span>
|
||||
</td>
|
||||
<td>
|
||||
<span class='posts' title='<%= t 'posts' %>'><%= t.posts_count %></span>
|
||||
<span class='views' title='<%= t 'views' %>'><%= t.views %></span>
|
||||
</td>
|
||||
<td>
|
||||
<%= 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">
|
||||
<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="category-title" itemprop="name"><%= c[:name] %></span>
|
||||
<span class="category-name" itemprop="name"><%= c[:name] %></span>
|
||||
</a>
|
||||
<meta itemprop="position" content="<%= i + 1 %>" />
|
||||
</span>
|
||||
|
@ -3052,7 +3052,7 @@ en:
|
||||
today: "Today"
|
||||
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:
|
||||
full: "Create / Reply / See"
|
||||
|
Loading…
Reference in New Issue
Block a user