added comma between names
This commit is contained in:
parent
620d44fb03
commit
31ad1cbcaf
3 changed files with 14 additions and 22 deletions
|
@ -6,15 +6,15 @@
|
|||
<description>Most recent changes with links to updates.</description>
|
||||
<language>en</language>
|
||||
<item>
|
||||
<title>Version 0.6.0</title>
|
||||
<title>Version 0.6.1</title>
|
||||
<sparkle:minimumSystemVersion>10.5.0</sparkle:minimumSystemVersion>
|
||||
<sparkle:releaseNotesLink>http://jabs.nu/Tentia/download/ReleaseNotes.html</sparkle:releaseNotesLink>
|
||||
<pubDate>Sat, 19 Jan 2013 04:07:17 +0100</pubDate>
|
||||
<pubDate>Sun, 27 Jan 2013 10:14:16 +0100</pubDate>
|
||||
<enclosure url="http://jabs.nu/Tentia/download/Tentia.app.zip"
|
||||
sparkle:version="0.6.0"
|
||||
length="1092284"
|
||||
sparkle:version="0.6.1"
|
||||
length="1092264"
|
||||
type="application/octet-stream"
|
||||
sparkle:dsaSignature="MCwCFGOnV/r5Y5E8La+S3aDuZnPUq0nLAhRiI85zYTNN6o/Gg9xneEVR/ktkkg==" />
|
||||
sparkle:dsaSignature="MCwCFBzHnd234i20ZHIVPe8/sNEGhCIoAhRy+lZG3h1LUoPO5+7CQWA139hKHQ==" />
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
|
|
|
@ -148,22 +148,6 @@ p {
|
|||
margin-left: 62px;
|
||||
}
|
||||
|
||||
li .name:first-child {
|
||||
margin-left: -3px;
|
||||
}
|
||||
|
||||
.name {
|
||||
background: #d8dfea;
|
||||
font-weight: normal;
|
||||
padding: 0 3px 2px 3px;
|
||||
border-radius: 5px;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
li:hover .name {
|
||||
background: #b8c1d0;
|
||||
}
|
||||
|
||||
.is_private {
|
||||
color: white;
|
||||
padding: 0 4px 0 2px;
|
||||
|
@ -173,7 +157,6 @@ li:hover .name {
|
|||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
li .date {
|
||||
position: absolute;
|
||||
top: -1.8em;
|
||||
|
|
|
@ -665,12 +665,21 @@ function(jQuery, Paths, URI, HostApp, Cache) {
|
|||
+ "</a>"
|
||||
);
|
||||
|
||||
// adding show profile on click
|
||||
node.innerHTML = new_text;
|
||||
$(node).find("a.name").click(function(e) {
|
||||
HostApp.showProfileForEntity(e.target.title);
|
||||
return false;
|
||||
});
|
||||
|
||||
// adding comma between names when there is only
|
||||
// a space in between.
|
||||
var names = $(node).find("a.name");
|
||||
names.each(function(i) {
|
||||
if(this.nextSibling && $(this.nextSibling.nextSibling).hasClass("name") && this.nextSibling.nodeValue == " " ) {
|
||||
$(this).after(",")
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue