mirror of https://github.com/zulip/zulip.git
analytics: Add copy email button for remote server support view.
This commit is contained in:
parent
5135acd9e3
commit
6621de6f07
|
@ -21,12 +21,18 @@
|
|||
<div id="remote-server-query-results">
|
||||
{% for remote_server in remote_servers %}
|
||||
<div class="support-query-result">
|
||||
<div class="remote-server-information">
|
||||
<span class="label">remote server</span>
|
||||
<h3>{{ remote_server.hostname }}</h3>
|
||||
<b>Contact email</b>: {{ remote_server.contact_email }}<br />
|
||||
<b>Contact email</b>: {{ remote_server.contact_email }}
|
||||
<a title="Copy email" class="copy-button" data-copytext="{{ remote_server.contact_email }}">
|
||||
<i class="fa fa-copy"></i>
|
||||
</a>
|
||||
<br />
|
||||
<b>Last updated</b>: {{ remote_server.last_updated|timesince }} ago<br />
|
||||
<b>Max monthly messages</b>: {{ remote_server_to_max_monthly_messages[remote_server.id] }}<br />
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -622,6 +622,7 @@ html_rules: List["Rule"] = [
|
|||
"exclude": {
|
||||
"templates/zerver/emails",
|
||||
"templates/analytics/realm_details.html",
|
||||
"templates/analytics/remote_server_support.html",
|
||||
"templates/analytics/support.html",
|
||||
},
|
||||
"description": "`title` value should be translatable.",
|
||||
|
|
|
@ -151,6 +151,10 @@ tr.admin td:first-child {
|
|||
}
|
||||
}
|
||||
|
||||
.remote-server-information {
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
.support-realm-icon {
|
||||
max-width: 25px;
|
||||
position: relative;
|
||||
|
|
Loading…
Reference in New Issue