Commit 7b9fcc76 authored by Chris Graham's avatar Chris Graham
Browse files

Fixed MANTIS-4767 (Empty galleries should say they are empty)

parent 89b7b569
Loading
Loading
Loading
Loading
+19 −15
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@

{+START,IF,{$NEQ,{$COMMA_LIST_GET,{BLOCK_PARAMS},raw},1}}
	{+START,IF,{$NEQ,{_GUID},carousel}}
		{+START,IF_NON_EMPTY,{ENTRIES}{PAGINATION}}
			{$SET,ajax_block_main_gallery_embed_wrapper,ajax_block_main_gallery_embed_wrapper_{$RAND%}}
			<div id="{$GET*,ajax_block_main_gallery_embed_wrapper}">
				<div class="gallery_grid_cell_wrap raw_ajax_grow_spot">
@@ -20,6 +21,7 @@
				{+END}
			</div>
		{+END}
	{+END}

	{+START,IF,{$EQ,{_GUID},carousel}}
		{$REQUIRE_JAVASCRIPT,dyn_comcode}
@@ -64,9 +66,11 @@
		//]]></script>
	{+END}

	{+START,IF_NON_EMPTY,{ENTRIES}{PAGINATION}}
		{+START,INCLUDE,MASS_SELECT_DELETE_FORM}
		{+END}
	{+END}
{+END}

{+START,IF,{$EQ,{$COMMA_LIST_GET,{BLOCK_PARAMS},raw},1}}
	{ENTRIES}
+2 −2
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@
		</div></div>
	{+END}

	{+START,IF_NON_EMPTY,{ENTRIES}}
	{+START,IF_NON_EMPTY,{$TRIM,{ENTRIES}}}
		{ENTRIES}

		<div class="box category_sorter inline_block"><div class="box_inner">
@@ -29,7 +29,7 @@
		</div></div>
	{+END}

	{+START,IF_EMPTY,{ENTRIES}{CHILDREN}}
	{+START,IF_EMPTY,{$TRIM,{ENTRIES}{CHILDREN}}}
		<p class="nothing_here">
			{!NO_ENTRIES}
		</p>