Skip to content

Commit

Permalink
Fix author template file
Browse files Browse the repository at this point in the history
  • Loading branch information
samerton committed Jul 12, 2022
1 parent 8d9d7c2 commit b34d789
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 74 deletions.
73 changes: 0 additions & 73 deletions upload/custom/templates/DefaultRevamp/resources/author.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -109,77 +109,4 @@
</div>
</div>

{include file='footer.tpl'}
<div class="title">
<a>{$resource.name}</a> <span
class="version"><small>{$resource.version}</small></span>
{if isset($resource.price)}
<span class="res right floated ui mini label"
style="margin-left:5px;">{$resource.price} {$CURRENCY}</span>
{/if}
<br />
</div>
<div class="sub header">
{if $resource.short_description}
{$resource.short_description}
{else}
{$resource.description}
{/if}
<br />{$resource.category}
</div>
</div>
</h5>
</td>
<td>
<div class="star-rating view">
<span class="far fa-star" data-rating="1" style="color:gold;"></span>
<span class="far fa-star" data-rating="2" style="color:gold"></span>
<span class="far fa-star" data-rating="3" style="color:gold;"></span>
<span class="far fa-star" data-rating="4" style="color:gold;"></span>
<span class="far fa-star" data-rating="5" style="color:gold;"></span>
<input type="hidden" name="rating" class="rating-value"
value="{$resource.rating}">
</div>
{$resource.views}<br />
{$resource.downloads}
</td>
<td>
<h5 class="ui image header">
<img class="ui mini circular image" style="max-height:30px; max-width:30px;"
src="{$resource.author_avatar}" alt="{$resource.author}">
<div class="content">
<a href="{$resource.author_profile}"
style="{$resource.author_style}">{$resource.author}</a>
<div class="sub header"><span data-toggle="tooltip"
data-content="{$resource.updated_full}">{$resource.updated}</span>
</div>
</div>
</h5>
</td>
</tr>
{/foreach}
</tbody>
</table>

{$PAGINATION}

{else}
<p style="color: white;">
{$NO_RESOURCES}
</p>
{/if}
</div>
<div class="four wide column">
{include file='resources/categories.tpl'}
{if count($WIDGETS_RIGHT)}
{foreach from=$WIDGETS_RIGHT item=widget}
{$widget}
{/foreach}
{/if}
</div>
</div>
</div>
</div>
</div>

This comment has been minimized.

Copy link
@PikaMug

PikaMug Jul 16, 2022

Contributor

Sorry about that!

{include file='footer.tpl'}
2 changes: 1 addition & 1 deletion upload/modules/Resources/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function __construct($pages, $language, $resource_language){

$name = 'Resources';
$author = '<a href="https://samerton.me" target="_blank">Samerton</a>';
$module_version = '1.7.0';
$module_version = '1.7.1';
$nameless_version = '2.0.0-pr13';

parent::__construct($this, $name, $author, $module_version, $nameless_version);
Expand Down

0 comments on commit b34d789

Please sign in to comment.