style improvements

This commit is contained in:
albert
2011-10-15 13:10:24 -04:00
parent 25090af792
commit 1b7102b2e6
5 changed files with 11 additions and 6 deletions

View File

@@ -14,3 +14,8 @@ span.link {
span.wait {
color: #CCC;
}
span.count {
color: #CCC;
margin-left: 0.5em;
}

View File

@@ -3,7 +3,7 @@
<h1>Artist History</h1>
<div>
<table width="100%" class="highlightable">
<table width="100%" class="striped">
<thead>
<tr>
<th>Name</th>

View File

@@ -26,7 +26,7 @@
<% end %>
</td>
<td><%= link_to note_version.updater.name, user_path(note_version.updater) %></td>
<td><%= note_version.updated_at.strftime("%Y-%m-%d %H:%M") %></td>
<td><%= compact_time note_version.updated_at %></td>
<td>
<% if CurrentUser.is_member? %>
<%= link_to "Revert", revert_note_path(note_version.note_id, :version_id => note_version.id), :remote => true, :method => :put, :confirm => "Do you really want to revert to this version?" %>

View File

@@ -20,8 +20,8 @@
<tbody>
<% @tag_aliases.each do |tag_alias| %>
<tr id="tag-alias-<%= tag_alias.id %>">
<td><%= link_to tag_alias.antecedent_name, posts_path(:tags => tag_alias.antecedent_name) %> (<%= tag_alias.antecedent_tag.post_count rescue 0 %>)</td>
<td><%= link_to tag_alias.consequent_name, posts_path(:tags => tag_alias.consequent_name) %> (<%= tag_alias.consequent_tag.post_count rescue 0 %>)</td>
<td><%= link_to tag_alias.antecedent_name, posts_path(:tags => tag_alias.antecedent_name) %> <span class="count"><%= tag_alias.antecedent_tag.post_count rescue 0 %></span></td>
<td><%= link_to tag_alias.consequent_name, posts_path(:tags => tag_alias.consequent_name) %> <span class="count"><%= tag_alias.consequent_tag.post_count rescue 0 %></span></td>
<td>
<% if tag_alias.forum_topic_id %>
<%= link_to tag_alias.forum_topic_id, forum_topic_path(tag_alias.forum_topic_id) %>

View File

@@ -20,8 +20,8 @@
<tbody>
<% @tag_implications.each do |tag_implication| %>
<tr id="tag-implication-<%= tag_implication.id %>">
<td><%= link_to tag_implication.antecedent_name, posts_path(:tags => tag_implication.antecedent_name) %> (<%= tag_implication.antecedent_tag.post_count rescue 0 %>)</td>
<td><%= link_to tag_implication.consequent_name, posts_path(:tags => tag_implication.consequent_name) %> (<%= tag_implication.consequent_tag.post_count rescue 0 %>)</td>
<td><%= link_to tag_implication.antecedent_name, posts_path(:tags => tag_implication.antecedent_name) %> <span class="count"><%= tag_implication.antecedent_tag.post_count rescue 0 %></span></td>
<td><%= link_to tag_implication.consequent_name, posts_path(:tags => tag_implication.consequent_name) %> <span class="count"><%= tag_implication.consequent_tag.post_count rescue 0 %></span></td>
<td>
<% if tag_implication.forum_topic_id %>
<%= link_to tag_implication.forum_topic_id, forum_topic_path(tag_implication.forum_topic_id) %>