Skip to content

Commit

Permalink
Many optimizations to Link templates
Browse files Browse the repository at this point in the history
  • Loading branch information
lucatescari committed Dec 12, 2017
1 parent 5a41188 commit 18cb913
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
8 changes: 4 additions & 4 deletions _Link - List of icon-links.cshtml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
te@* put all necessary link/script tags here *@
@* put all necessary link/script tags here *@
@RenderPage("_Shared - Assets.cshtml", new { parts = "styles,scripts,height"})

@{
Expand All @@ -13,11 +13,11 @@ te@* put all necessary link/script tags here *@
{
var linkInfo = Helpers.LinkInfos(linkItem.Link, linkItem.Window, linkItem.Icon);

<div class="col col-xs-12 col-sm-6 col-md-4 sc-element">
<div class="col col-xs-12 col-sm-6 col-md-4 sc-element sync-height-with-neighbors">
@Edit.Toolbar(linkItem)
@if(linkInfo.Found)
{
@:<a class="co-link-box" title="@linkItem.Title" href="@linkItem.Link" target="@linkInfo.Window">
@:<a class="co-link-box" title="@linkItem.Title" href="@linkItem.Link" target="@linkInfo.Window" class="co-link">
}
<div class="row">
<div class="col col-xs-2 text-center">
Expand All @@ -28,7 +28,7 @@ te@* put all necessary link/script tags here *@
<p>@Helpers.ConvertLineBreaks(linkItem.Description)</p>
@if(!String.IsNullOrEmpty(linkItem.Link))
{
<span class="text-primary">@linkItem.LinkText&nbsp;<span class="glyphicon glyphicon-menu-right glyphicon-right-custom" aria-hidden="true"></span></span>
<span class="text-primary co-link">@linkItem.LinkText&nbsp;<span class="glyphicon glyphicon-menu-right glyphicon-right-custom" aria-hidden="true"></span></span>
}
</div>
</div>
Expand Down
4 changes: 3 additions & 1 deletion dist/styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 18cb913

Please sign in to comment.