瀏覽代碼

Use forward/reply/blocked icon on alias page

Son NK 5 年之前
父節點
當前提交
b19dfc6ef4
共有 1 個文件被更改,包括 16 次插入9 次删除
  1. 16 9
      app/dashboard/templates/dashboard/index.html

+ 16 - 9
app/dashboard/templates/dashboard/index.html

@@ -98,6 +98,10 @@
                   Copy
                   Copy
                 </span>
                 </span>
               {% endif %}
               {% endif %}
+              {% if alias_info.highlight %}
+                <span class="font-weight-bold text-success small-text">New</span>
+              {% endif %}
+
             </span>
             </span>
             </div>
             </div>
             <div class="col text-right">
             <div class="col text-right">
@@ -134,11 +138,6 @@
 
 
           <hr class="my-2">
           <hr class="my-2">
 
 
-          <p class="small-text">
-            {% if alias_info.highlight %}
-              - <span class="font-weight-bold text-success small-text">New</span>
-            {% endif %}
-          </p>
 
 
           <div class="" style="font-size: 12px">
           <div class="" style="font-size: 12px">
             {% if alias_info.latest_email_log != None %}
             {% if alias_info.latest_email_log != None %}
@@ -146,19 +145,27 @@
               {% set contact = alias_info.latest_contact %}
               {% set contact = alias_info.latest_contact %}
 
 
               {% if email_log.is_reply %}
               {% if email_log.is_reply %}
-                Email sent/reply to {{ contact.website_email }}
+                {{ contact.website_email }}
+                <i class="fa fa-reply mr-2" data-toggle="tooltip" title="Email reply/sent from alias"></i>
                 {{ email_log.created_at | dt }}
                 {{ email_log.created_at | dt }}
               {% elif email_log.bounced %}
               {% elif email_log.bounced %}
-                <span class="text-danger">Email from {{ contact.website_email }} bounced
+                <span class="text-danger">
+                  {{ contact.website_email }}
+                  <i class="fa fa-warning mr-2" data-toggle="tooltip"
+                     title="Email bounced and cannot be forwarded to your mailbox"></i>
                   {{ email_log.created_at | dt }}
                   {{ email_log.created_at | dt }}
                 </span>
                 </span>
               {% elif email_log.blocked %}
               {% elif email_log.blocked %}
-                Email from {{ contact.website_email }} blocked
+                {{ contact.website_email }}
+                <i class="fa fa-ban mr-2" data-toggle="tooltip" title="Email blocked"></i>
                 {{ email_log.created_at | dt }}
                 {{ email_log.created_at | dt }}
               {% else %}
               {% else %}
-                Email from {{ contact.website_email }}
+                {{ contact.website_email }}
+                <i class="fa fa-paper-plane  mr-2" data-toggle="tooltip" title="Email forwarded to alias"></i>
                 {{ email_log.created_at | dt }}
                 {{ email_log.created_at | dt }}
               {% endif %}
               {% endif %}
+            {% else %}
+              No Activity
             {% endif %}
             {% endif %}
             <br>
             <br>