summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-25 02:13:52 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-06-25 02:13:52 -0700
commitad1f2aac0303cad38f043b28048b1adfa1cbc288 (patch)
tree0bcf41a5cbd7e5cd35f265636833f9798c2303c1
parent79547d99cf59fe9e2df94e33989d5a1d3b85be1b (diff)
parent75d6b0707ce719a23526ed8c66de7240a9481285 (diff)
Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x
-rw-r--r--js/util.js4
-rw-r--r--lib/attachmentlist.php3
-rw-r--r--theme/base/css/display.css3
3 files changed, 6 insertions, 4 deletions
diff --git a/js/util.js b/js/util.js
index 65a77960a..221c85120 100644
--- a/js/util.js
+++ b/js/util.js
@@ -280,13 +280,13 @@ function NoticeAttachments() {
timeout : 0
};
- $('a.attachment').click(function() {
+ $('#content .notice a.attachment').click(function() {
$().jOverlay({url: $('address .url')[0].href+'/attachment/' + ($(this).attr('id').substring('attachment'.length + 1)) + '/ajax'});
return false;
});
var t;
- $("body:not(#shownotice) a.thumbnail").hover(
+ $("body:not(#shownotice) #content .notice a.thumbnail").hover(
function() {
var anchor = $(this);
$("a.thumbnail").children('img').hide();
diff --git a/lib/attachmentlist.php b/lib/attachmentlist.php
index b5513ade7..f6a1b59d0 100644
--- a/lib/attachmentlist.php
+++ b/lib/attachmentlist.php
@@ -82,7 +82,8 @@ class AttachmentList extends Widget
$atts = new File;
$att = $atts->getAttachments($this->notice->id);
if (empty($att)) return 0;
- $this->out->elementStart('dl', array('id' =>'attachments'));
+ $this->out->elementStart('dl', array('id' =>'attachments',
+ 'class' => 'entry-content'));
$this->out->element('dt', null, _('Attachments'));
$this->out->elementStart('dd');
$this->out->elementStart('ol', array('class' => 'attachments'));
diff --git a/theme/base/css/display.css b/theme/base/css/display.css
index 8957a5b40..d01be7700 100644
--- a/theme/base/css/display.css
+++ b/theme/base/css/display.css
@@ -548,7 +548,8 @@ margin-bottom:18px;
.entity_profile .entity_location,
.entity_profile .entity_url,
.entity_profile .entity_note,
-.entity_profile .entity_tags {
+.entity_profile .entity_tags,
+.entity_profile .entity_aliases {
margin-left:113px;
margin-bottom:4px;
}