removed teaser_text

v1.18.x
Baris Soner Usakli 11 years ago
parent 265d1f6331
commit 466c02a886

@ -9,9 +9,6 @@
<a href="../../topic/{topics.slug}">{topics.title} ({topics.postcount})</a> <a href="../../topic/{topics.slug}">{topics.title} ({topics.postcount})</a>
<div class="teaser"> <div class="teaser">
<img class="img-thumbnail" src="{topics.teaser_userpicture}" /> <img class="img-thumbnail" src="{topics.teaser_userpicture}" />
<p>
{topics.teaser_text}
</p>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
</li> </li>

@ -709,7 +709,6 @@ var async = require('async'),
topicData.categoryName = topicInfo.categoryData.name; topicData.categoryName = topicInfo.categoryData.name;
topicData.categorySlug = topicInfo.categoryData.slug; topicData.categorySlug = topicInfo.categoryData.slug;
topicData.badgeclass = (topicInfo.hasread && parseInt(current_user, 10) !== 0) ? '' : 'badge-important'; topicData.badgeclass = (topicInfo.hasread && parseInt(current_user, 10) !== 0) ? '' : 'badge-important';
topicData.teaser_text = topicInfo.teaserInfo.text || '',
topicData.teaser_username = topicInfo.teaserInfo.username || ''; topicData.teaser_username = topicInfo.teaserInfo.username || '';
topicData.teaser_userslug = topicInfo.teaserInfo.userslug || ''; topicData.teaser_userslug = topicInfo.teaserInfo.userslug || '';
topicData.teaser_userpicture = topicInfo.teaserInfo.picture || gravatar.url('', {}, https = nconf.get('https')); topicData.teaser_userpicture = topicInfo.teaserInfo.picture || gravatar.url('', {}, https = nconf.get('https'));
@ -830,7 +829,6 @@ var async = require('async'),
topicData['lock-icon'] = parseInt(topicData.locked, 10) === 1 ? 'fa-lock' : 'none'; topicData['lock-icon'] = parseInt(topicData.locked, 10) === 1 ? 'fa-lock' : 'none';
topicData.badgeclass = hasRead ? '' : 'badge-important'; topicData.badgeclass = hasRead ? '' : 'badge-important';
topicData.teaser_text = teaser.text || '';
topicData.teaser_username = teaser.username || ''; topicData.teaser_username = teaser.username || '';
topicData.teaser_userslug = teaser.userslug || ''; topicData.teaser_userslug = teaser.userslug || '';
topicData.userslug = teaser.userslug || ''; topicData.userslug = teaser.userslug || '';

Loading…
Cancel
Save