Commit 3bf7cd4e authored by Robert's avatar Robert

Add visibility hint for conversation preview

parent fe978ce5
Pipeline #1290 passed with stage
in 2 minutes and 27 seconds
......@@ -22,7 +22,10 @@
</span>
</div>
<div class="thread-preview-meta">
{% time c.contributions.first.time_created %}
<div>
{% time c.contributions.first.time_created %}
{% include 'conversations/_visibility.html' with small=True %}
</div>
{% include 'conversations/_contributors.html' with contributors=c.get_authors max_shown=10 %}
</div>
</a>
......
<span class="btn has-state has-square-icon has-hover-title is-unresponsive" data-state="active">
<i class="sg sg-xl sg-privacy-private"></i>
<span class="btn has-state has-square-icon{% if small %} has-square-icon-sm{% endif %} has-hover-title is-unresponsive" data-state="active">
<i class="sg {% if not small %}sg-xl {% endif %}sg-privacy-private"></i>
<span class="btn-htitle" data-position="right"
{% if user.gestalt in association.container.get_authors %}
title="Du kannst dieses Gespräch sehen, weil Du Dich daran beteiligt hast."
......
......@@ -507,9 +507,9 @@
}
.btn.has-square-icon {
@size: 2.5rem;
width: var(--btn-square-size, @size);
height: var(--btn-square-size, @size);
@size: var(--btn-square-size, 2.5rem);
width: @size;
height: @size;
display: inline-flex;
align-items: center;
justify-content: center;
......@@ -521,6 +521,12 @@
}
}
.btn.has-square-icon-sm {
@size: 1.5rem;
width: @size;
height: @size;
}
.btn.has-hover-title {
overflow: visible;
......
......@@ -59,13 +59,13 @@
}
.thread-contributors {
margin: 0;
margin: .25rem 0 0;
padding: 0;
text-align: right;
> li {
display: inline-block;
vertical-align: top;
margin: 0 0 .25em;
margin: .25em 0 0;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment