Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhanced plugin to also embed commits
Embedding of commits is now also supported. Short form (gh@hash) or long form (full url). Hooray!
- Loading branch information
Showing
4 changed files
with
192 additions
and
57 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
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<div class="row github-embeds-container"> | ||
<!-- BEGIN embeds --> | ||
<!-- IF embeds.type.issue --> | ||
<div class="col-md-6"> | ||
<div class="github-embed panel panel-default"> | ||
<div class="panel-body"> | ||
<div class="meta"> | ||
<img class="author-picture" src="{embeds.user.picture}" title="{embeds.user.login}" /> | ||
<a href="{embeds.user.url}"><span class="username">{embeds.user.login}</span></a> created this issue <span class="timeago" title="{embeds.created}"></span> in <a href="//github.com/{embeds.repo}">{embeds.repo}</a> | ||
</div> | ||
<h3> | ||
<span class="label label-default {embeds.state} pull-right">{embeds.state}</span> | ||
<a href="{embeds.url}">{embeds.title}</a> | ||
<span class="number">#{embeds.number}</span> | ||
</h3> | ||
</div> | ||
</div> | ||
</div> | ||
<!-- ENDIF embeds.type.issue --> | ||
<!-- IF embeds.type.commit --> | ||
<div class="col-md-6"> | ||
<div class="github-embed panel panel-default"> | ||
<div class="panel-body"> | ||
<div class="meta"> | ||
<span class="pull-right">{embeds.commentCount} <i class="fa fa-comment"></i></span> | ||
<img class="author-picture" src="{embeds.user.picture}" title="{embeds.user.login}" /> | ||
<a href="{embeds.user.url}"><span class="username">{embeds.user.login}</span></a> committed <span class="timeago" title="{embeds.created}"></span> to <a href="//github.com/{embeds.repo}">{embeds.repo}</a> | ||
</div> | ||
<a href="{embeds.url}"><pre>{embeds.message}</pre></a> | ||
</div> | ||
</div> | ||
</div> | ||
<!-- ENDIF embeds.type.commit --> | ||
<!-- END embeds --> | ||
</div> |
This file was deleted.
Oops, something went wrong.