Skip to content

Commit c70c939

Browse files
added the ability for multiple module authors
1 parent 9914170 commit c70c939

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

modules/installed/moduleManager/moduleManager.tpl.php

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,24 @@ class moduleManagerTemplate extends template {
4343
{/if}
4444
</div>
4545
<h2>{name} <small>{version}</small></h2>
46-
<p>Developed by <a href="{author.url}" target="_blank">{author.name}</a></p>
46+
{#if author.name}
47+
<p>
48+
Developed by <a href="{author.url}" target="_blank">{author.name}</a>
49+
{#if notes} <small> - <{notes}></small>{/if}
50+
</p>
51+
{else}
52+
<p>
53+
Developed by:
54+
</p>
55+
<ul>
56+
{#each author}
57+
<li>
58+
<a href="{url}" target="_blank">{name}</a>
59+
{#if notes} <small> - <{notes}></small>{/if}
60+
</li>
61+
{/each}
62+
</ul>
63+
{/if}
4764
<div class="well">
4865
{description}
4966
</div>

0 commit comments

Comments
 (0)