-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
78 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
<!-- BEGIN: AUTHORED_BY --> | ||
<h3>Authored by:</h3> | ||
<g:each in="${authorList}" var="author"> | ||
<table> | ||
<tr> | ||
<td class="thumbnail"> | ||
<g:if test="${author.username}"> | ||
<g:link controller="profile" action="show" | ||
id="${author.username}" | ||
mapping="profile"> | ||
<ui:avatar user="${author.email}" size="50" | ||
class="img-rounded"/> | ||
</g:link> | ||
</g:if> | ||
<g:else> | ||
<g:link controller="author" action="show" | ||
id="${author.id}" mapping="author"> | ||
<ui:avatar user="${author.email}" size="50" | ||
class="img-rounded"/> | ||
</g:link> | ||
</g:else> | ||
</td> | ||
<td> </td> | ||
<td> | ||
<address> | ||
<strong>${author.name}</strong><br/> | ||
<a mailto="">${author.email}</a> | ||
</address> | ||
</td> | ||
</tr> | ||
</table> | ||
</g:each> | ||
<ul class="media-list"> | ||
<g:each in="${authorList}" var="author"> | ||
<li class="media"> | ||
<g:if test="${author.username}"> | ||
<g:link controller="profile" action="show" | ||
id="${author.username}" class="pull-left" | ||
mapping="profile"> | ||
<ui:avatar user="${author.email}" size="50" | ||
class="media-object img-rounded"/> | ||
</g:link> | ||
</g:if> | ||
<g:else> | ||
<g:link controller="author" action="show" class="pull-left" | ||
id="${author.id}" mapping="author"> | ||
<ui:avatar user="${author.email}" size="50" | ||
class="media-object img-rounded"/> | ||
</g:link> | ||
</g:else> | ||
|
||
<div class="media-body"> | ||
<div class="media-heading"> | ||
<address> | ||
<strong>${author.name}</strong><br/> | ||
<a mailto="">${author.email}</a> | ||
</address> | ||
</div> | ||
</div> | ||
</li> | ||
</g:each> | ||
</ul> | ||
<!-- END: AUTHORED_BY --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,17 @@ | ||
<tmpl:/shared/pageheader> | ||
<table> | ||
<tr> | ||
<td class="thumbnail"> | ||
<a href="#"> | ||
<ui:avatar user="${authorInstance.email}" size="100" | ||
class="img-rounded"/> | ||
</a> | ||
</td> | ||
<td> </td> | ||
<td> | ||
<address> | ||
<h2><g:fieldValue bean="${authorInstance}" | ||
field="name"/></h2> | ||
<g:fieldValue bean="${authorInstance}" | ||
field="email"/><br/> | ||
</address> | ||
</td> | ||
</tr> | ||
</table> | ||
<div class="media"> | ||
<a href="#" class="pull-left"> | ||
<ui:avatar user="${authorInstance.email}" | ||
size="90" | ||
class="media-object img-rounded"/> | ||
</a> | ||
|
||
<div class="media-body"> | ||
<address> | ||
<h3><g:fieldValue bean="${authorInstance}" | ||
field="name"/></h3> | ||
<a mailto="">${authorInstance.email}</a> | ||
</address> | ||
</div> | ||
</div> | ||
</tmpl:/shared/pageheader> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters