mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
News-Grid template 'other' changed to 'media-list' for consistency with other names.
This commit is contained in:
@@ -37,7 +37,7 @@
|
|||||||
$NEWS_GRID_TEMPLATE['col-md-6']['end'] = '</div>';
|
$NEWS_GRID_TEMPLATE['col-md-6']['end'] = '</div>';
|
||||||
|
|
||||||
|
|
||||||
|
// ------------------ col-md-4 -----------------
|
||||||
|
|
||||||
$NEWS_GRID_TEMPLATE['col-md-4']['start'] = $NEWS_GRID_TEMPLATE['col-md-6']['start'];
|
$NEWS_GRID_TEMPLATE['col-md-4']['start'] = $NEWS_GRID_TEMPLATE['col-md-6']['start'];
|
||||||
$NEWS_GRID_TEMPLATE['col-md-4']['featured'] = $NEWS_GRID_TEMPLATE['col-md-6']['featured'];
|
$NEWS_GRID_TEMPLATE['col-md-4']['featured'] = $NEWS_GRID_TEMPLATE['col-md-6']['featured'];
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// ------------------ col-md-3 -----------------
|
||||||
|
|
||||||
|
|
||||||
$NEWS_GRID_TEMPLATE['col-md-3']['start'] = $NEWS_GRID_TEMPLATE['col-md-6']['start'];
|
$NEWS_GRID_TEMPLATE['col-md-3']['start'] = $NEWS_GRID_TEMPLATE['col-md-6']['start'];
|
||||||
@@ -69,13 +69,13 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// ------------------ media-list -----------------
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//@todo find a better name than 'other'
|
$NEWS_GRID_TEMPLATE['media-list']['start'] = '<div class="row news-grid-default">';
|
||||||
$NEWS_GRID_TEMPLATE['other']['start'] = '<div class="row news-grid-other">';
|
|
||||||
|
|
||||||
$NEWS_GRID_TEMPLATE['other']['featured'] = '<div class="featured item col-sm-6" >
|
$NEWS_GRID_TEMPLATE['media-list']['featured'] = '<div class="featured item col-sm-6" >
|
||||||
{SETIMAGE: w=600&h=400&crop=1}
|
{SETIMAGE: w=600&h=400&crop=1}
|
||||||
{NEWSTHUMBNAIL=placeholder}
|
{NEWSTHUMBNAIL=placeholder}
|
||||||
<h3><a href="{NEWS_URL}">{NEWS_TITLE}</a></h3>
|
<h3><a href="{NEWS_URL}">{NEWS_TITLE}</a></h3>
|
||||||
@@ -86,13 +86,13 @@
|
|||||||
';
|
';
|
||||||
|
|
||||||
|
|
||||||
$NEWS_GRID_TEMPLATE['other']['item'] = '<div class="item col-sm-6">
|
$NEWS_GRID_TEMPLATE['media-list']['item'] = '<div class="item col-sm-6">
|
||||||
{SETIMAGE: w=120&h=120&crop=1}
|
{SETIMAGE: w=120&h=120&crop=1}
|
||||||
<ul class="media-list">
|
<ul class="media-list">
|
||||||
<li class="media">
|
<li class="media">
|
||||||
<div class="media-left media-top">
|
<div class="media-left media-top">
|
||||||
<a href="{NEWS_URL}">
|
<a href="{NEWS_URL}">
|
||||||
{NEWS_IMAGE: class=media-object img-rounded&placeholder=1}
|
{NEWS_IMAGE: type=tag&class=media-object img-rounded&placeholder=1}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="media-body">
|
<div class="media-body">
|
||||||
@@ -105,7 +105,5 @@
|
|||||||
</div>';
|
</div>';
|
||||||
|
|
||||||
|
|
||||||
|
$NEWS_GRID_TEMPLATE['media-list']['end'] = '</div>';
|
||||||
|
|
||||||
$NEWS_GRID_TEMPLATE['other']['end'] = '</div>';
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user