From: "Alex Legler" <a3li@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/ag-web:master commit in: views/
Date: Sun, 22 Feb 2015 11:02:53 +0000 (UTC) [thread overview]
Message-ID: <1424602947.852fca3a0175ad0f22d99ec69534a1d358081afb.a3li@gentoo> (raw)
commit: 852fca3a0175ad0f22d99ec69534a1d358081afb
Author: Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Sun Feb 22 11:02:27 2015 +0000
Commit: Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Sun Feb 22 11:02:27 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/ag-web.git;a=commit;h=852fca3a
Responsiveness fixes for the headers table
---
views/message.erb | 69 +++++++++++++++++++++++++++++--------------------------
1 file changed, 36 insertions(+), 33 deletions(-)
diff --git a/views/message.erb b/views/message.erb
index d9c1c66..74525ca 100644
--- a/views/message.erb
+++ b/views/message.erb
@@ -1,38 +1,41 @@
<h1 class="first-header">Gentoo Archives: <%= list %></h1>
-<table class="table table-condensed ag-header-table">
- <tr>
- <th class="ag-header-name-col">From:</th>
- <td colspan="3"><%= h strip_email_domain(message['_source']['from']) %></td>
- </tr>
- <tr>
- <th>To:</th>
- <td colspan="3"><%= h strip_email_domain(message['_source']['to']) %></td>
- </tr>
- <% unless message['_source']['cc'] == nil or message['_source']['cc'] == '' %>
- <tr>
- <th>Cc:</th>
- <td colspan="3"><%= h strip_email_domain(message['_source']['cc']) %></td>
- </tr>
- <% end %>
- <tr>
- <th>Subject:</th>
- <td colspan="3"><strong><%= h message['_source']['subject'] %></strong></td>
- </tr>
- <tr>
- <th>Date:</th>
- <td><%= date_format message['_source']['date'] %></td>
- <th class="ag-header-msgid-col">Message-Id:</th>
- <td><%= message['_source']['raw_message_id'] %></td>
- </tr>
- <% unless parent == nil %>
- <tr>
- <th>In Reply to:</th>
- <td colspan="3"><a href="<%= parent['_id'] %>"><%= parent['_source']['subject'] %></a> by <%= parent['_source']['from'] %></td>
- </tr>
- <% end %>
-</table>
-<!-- Message-Id: <%= message['_source']['raw_message_id'] %> -->
+<div class="table-responsive">
+ <table class="table table-condensed ag-header-table">
+ <tr>
+ <th class="ag-header-name-col">From:</th>
+ <td><%= h strip_email_domain(message['_source']['from']) %></td>
+ </tr>
+ <tr>
+ <th>To:</th>
+ <td><%= h strip_email_domain(message['_source']['to']) %></td>
+ </tr>
+ <% unless message['_source']['cc'] == nil or message['_source']['cc'] == '' %>
+ <tr>
+ <th>Cc:</th>
+ <td><%= h strip_email_domain(message['_source']['cc']) %></td>
+ </tr>
+ <% end %>
+ <tr>
+ <th>Subject:</th>
+ <td><strong><%= h message['_source']['subject'] %></strong></td>
+ </tr>
+ <tr>
+ <th>Date:</th>
+ <td><%= date_format message['_source']['date'] %></td>
+ </tr>
+ <tr>
+ <th>Message-Id:</th>
+ <td><tt><%= h message['_source']['raw_message_id'] %></tt></td>
+ </tr>
+ <% unless parent == nil %>
+ <tr>
+ <th>In Reply to:</th>
+ <td colspan="3"><a href="<%= parent['_id'] %>"><%= parent['_source']['subject'] %></a> by <%= parent['_source']['from'] %></td>
+ </tr>
+ <% end %>
+ </table>
+</div>
<pre class="ag-message-content">
<%= linkize(strip_email(message['_source']['content'])) %>
next reply other threads:[~2015-02-22 11:02 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-22 11:02 Alex Legler [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-02-26 13:12 [gentoo-commits] proj/ag-web:master commit in: views/ Alex Legler
2015-02-25 21:44 Alex Legler
2015-02-25 21:44 Alex Legler
2015-02-25 10:47 Alex Legler
2015-02-23 23:55 Alex Legler
2015-02-22 11:05 Alex Legler
2015-02-22 4:38 Robin H. Johnson
2015-02-22 0:15 Alex Legler
2015-02-22 0:14 Alex Legler
2015-02-22 0:04 Alex Legler
2015-02-22 0:03 Alex Legler
2015-02-22 0:01 Alex Legler
2015-02-22 0:00 Alex Legler
2015-02-21 23:57 Alex Legler
2015-02-21 23:49 Robin H. Johnson
2015-02-21 23:41 Robin H. Johnson
2015-02-21 23:39 Robin H. Johnson
2015-02-21 23:34 Robin H. Johnson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1424602947.852fca3a0175ad0f22d99ec69534a1d358081afb.a3li@gentoo \
--to=a3li@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox