topStory template variables should be available in standAlone and not standAlone modes. Added template variables for delete and edit icons for the top story. Updated the tests, template and template variable help. Fixes bug #11851.
This commit is contained in:
parent
b63fe8e184
commit
5608a43916
6 changed files with 36 additions and 19 deletions
|
|
@ -15,3 +15,15 @@ templates, you will need to apply these changes manually to your copies.
|
|||
}
|
||||
Gallery.DDSorting.url = '<tmpl_var url escape="js">';
|
||||
|
||||
* Story Topic Template
|
||||
Since topStory template variables are available all the time, manually add the topStory into the list of
|
||||
stories when the topic is no viewed standalone. Also note the new template variables for the the delete
|
||||
and edit icons for the top story.
|
||||
|
||||
<ul>
|
||||
<tmpl_unless standAlone>
|
||||
<li><tmpl_var topStoryDeleteIcon><tmpl_var topStoryEditIcon> <a href="<tmpl_var topStoryUrl>"><tmpl_var topStoryTitle></a></li>
|
||||
</tmpl_unless>
|
||||
<tmpl_loop story_loop>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue