history: small style change

This commit is contained in:
Hylke Bons 2012-10-16 22:14:51 +01:00
parent 3a8d7bec4f
commit 2ea299380b
2 changed files with 8 additions and 5 deletions

View file

@ -109,7 +109,6 @@
.history-header {
color: #aaa;
padding-top: 22px;
font-weight: bold;
float: left;
width: 90%;
margin-left: 32px;
@ -186,16 +185,19 @@
td.time {
color: <!-- $secondary-font-color -->;
padding-right: 9px;
font-size: <!-- $small-font-size -->;
}
td.date {
color: <!-- $secondary-font-color -->;
text-align: right;
padding-right: 6px;
font-size: <!-- $small-font-size -->;
}
td.restore {
text-align: right;
font-size: <!-- $small-font-size -->;
}
td.avatar {

View file

@ -364,14 +364,15 @@ namespace SparkleShare {
public string GetHistoryHTMLLog (List<SparkleChangeSet> change_sets, string file_path)
{
string html = "<div class='history-header'><a class='windows' href='back://'>&laquo; Back</a> &nbsp;|&nbsp; ";
string html = "<div class='history-header'>" +
"<a class='windows' href='back://'>&laquo; Back</a> &nbsp;|&nbsp; ";
if (change_sets.Count > 1)
html += "Revisions for &ldquo;";
html += "Revisions for <b>&ldquo;";
else
html += "No revisions for &ldquo;";
html += "No revisions for <b>&ldquo;";
html += Path.GetFileName (file_path) + "&rdquo;";
html += Path.GetFileName (file_path) + "&rdquo;</b>";
html += "</div><div class='table-wrapper'><table>";
int count = 0;