* Add more link for blocks.

This commit is contained in:
daitingting
2015-11-27 15:26:19 +08:00
parent 5913f76f35
commit 61ecdb6000
7 changed files with 35 additions and 7 deletions
+5 -1
View File
@@ -29,4 +29,8 @@
</tr>
<?php endforeach;?>
</table>
<script>$('.block-bug').dataTable();</script>
<p class='hide listLink'><?php echo $listLink;?></p>
<script>
$('.block-bug').dataTable();
$('.listLink').closest('.panel').find('.panel-heading .more').attr('href', $('.listLink').html());
</script>
+5 -1
View File
@@ -33,4 +33,8 @@
</tr>
<?php endforeach;?>
</table>
<script>$('.block-case').dataTable();</script>
<p class='hide listLink'><?php echo $listLink;?></p>
<script>
$('.block-case').dataTable();
$('.listLink').closest('.panel').find('.panel-heading .more').attr('href', $('.listLink').html());
</script>
+5 -1
View File
@@ -39,4 +39,8 @@
<?php endforeach;?>
</tbody>
</table>
<script>$('.block-product').dataTable();</script>
<p class='hide listLink'><?php echo $listLink;?></p>
<script>
$('.block-product').dataTable();
$('.listLink').closest('.panel').find('.panel-heading .more').attr('href', $('.listLink').html());
</script>
+5 -1
View File
@@ -38,4 +38,8 @@
<?php endforeach;?>
</tbody>
</table>
<script>$('.block-project').dataTable();</script>
<p class='hide listLink'><?php echo $listLink;?></p>
<script>
$('.block-project').dataTable();
$('.listLink').closest('.panel').find('.panel-heading .more').attr('href', $('.listLink').html());
</script>
+5 -1
View File
@@ -33,4 +33,8 @@
</tr>
<?php endforeach;?>
</table>
<script>$('.block-story').dataTable();</script>
<p class='hide listLink'><?php echo $listLink;?></p>
<script>
$('.block-story').dataTable();
$('.listLink').closest('.panel').find('.panel-heading .more').attr('href', $('.listLink').html());
</script>
+5 -1
View File
@@ -36,4 +36,8 @@ td.delayed{background: #e84e0f!important; color: white;}
</tr>
<?php endforeach;?>
</table>
<script>$('.block-task').dataTable();</script>
<p class='hide listLink'><?php echo $listLink;?></p>
<script>
$('.block-task').dataTable();
$('.listLink').closest('.panel').find('.panel-heading .more').attr('href', $('.listLink').html());
</script>
+5 -1
View File
@@ -31,4 +31,8 @@
</tr>
<?php endforeach;?>
</table>
<script>$('.block-todo').dataTable();</script>
<p class='hide listLink'><?php echo $listLink;?></p>
<script>
$('.block-todo').dataTable();
$('.listLink').closest('.panel').find('.panel-heading .more').attr('href', $('.listLink').html());
</script>