correction petit bug entryController + petites améliorations design

This commit is contained in:
Marien Fressinaud
2013-03-19 23:02:21 +01:00
parent 8f65ce0e64
commit 80d4f5cf3d
3 changed files with 10 additions and 3 deletions

View File

@@ -9,6 +9,7 @@ class entryController extends ActionController {
);
}
$this->params = array ();
$this->redirect = false;
$ajax = Request::param ('ajax');
if ($ajax) {

View File

@@ -50,7 +50,7 @@ if (isset ($this->entryPaginator)) {
</li>
<?php } ?>
<?php $feed = $item->feed (true); ?>
<li class="item website"><a target="_blank" href="<?php echo $feed->website (); ?>"><img class="favicon" src="http://g.etfv.co/<?php echo $feed->website (); ?>" alt="favicon <?php echo $feed->name (); ?>" /> <?php echo $feed->name (); ?></a></li>
<li class="item website"><a target="_blank" href="<?php echo $feed->website (); ?>"><img class="favicon" src="http://g.etfv.co/<?php echo $feed->website (); ?>" alt="favicon <?php echo $feed->name (); ?>" /> <span><?php echo $feed->name (); ?></span></a></li>
<li class="item title"><h1><?php echo $item->title (); ?></h1></li>
<li class="item date">le <?php echo $item->date (); ?></li>
<li class="item link"><a target="_blank" href="<?php echo $item->link (); ?>">&nbsp;</a></li>

View File

@@ -698,11 +698,16 @@ input, select, textarea {
}
.flux_header .item.website {
width: 200px;
padding: 0 5px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
line-height: 35px;
}
.flux_header .item.website a {
display: block;
padding: 0 5px;
height: 35px;
}
.flux_header .item.title {
overflow: hidden;
white-space: nowrap;
@@ -854,7 +859,8 @@ input, select, textarea {
display: none;
}
.flux_header .item.website {
width: 20px;
width: 30px;
text-align: center;
}
.pagination .pager-previous, .pagination .pager-next {
width: 100px;