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
9991a36c65
commit
ef6e78fc27
6 changed files with 36 additions and 19 deletions
|
|
@ -1,4 +1,5 @@
|
|||
7.10.1
|
||||
- fixed #11851: Story Topic: top story variables should be available all the time
|
||||
|
||||
7.10.0
|
||||
- fixed #11812: Checking www_ajaxSave's response in the cart js, urlencoding post parameters
|
||||
|
|
|
|||
|
|
@ -25,3 +25,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>
|
||||
|
||||
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue