changes to lightbox panel

This commit is contained in:
Karen 2011-10-25 23:09:17 +05:30
commit 6ea8070b7b
2 changed files with 3 additions and 2 deletions

View File

@ -450,11 +450,13 @@ z-index:1000;} /*everything except the lightbox panel should be below this z-ind
display:none;
position:fixed;
top:140px;
bottom:140px;
left:0;
right:0;
margin:0 auto;
width:600px;
max-height:500px; /*SANJ, PLEASE DO THE RESIZE IN JS*/
min-height:200px;
overflow-y:auto;
background-color:#FFF;
padding:15px;

View File

@ -32,8 +32,7 @@
{% for result in page.object_list %}
<p>
<a href="{{ result.object.get_absolute_url }}&search={{ query }}">{{ result.object.title }}</a><br />
{{ result.object.text }}
<a href="{{ result.object.get_absolute_url }}&search={{ query }}">{{ result.object.title }}</a>
</p>
{% empty %}
<p>No results found.</p>