diff options
Diffstat (limited to 'python/templates/includes/frontpage/updated_packages')
-rw-r--r-- | python/templates/includes/frontpage/updated_packages | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/python/templates/includes/frontpage/updated_packages b/python/templates/includes/frontpage/updated_packages new file mode 100644 index 0000000..78dc027 --- /dev/null +++ b/python/templates/includes/frontpage/updated_packages @@ -0,0 +1,77 @@ +{% for E in EM_list %} +<li class="list-group-item kk-package-detailed"> + <div class="row"> + <div class="col-xs-12 col-md-6"> + <h4 class="stick-top"><a href="/packages/{{ E.CId }}/{{ E.PId }}">{{ E.C }}/{{ E.P }}::{{ E.R }}</a></h4> + <div class="kk-package-detailed-toolbox"> + <div class="btn-group"> + <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> + <span class="fa fa-fw fa-navicon"></span> + </button> + <ul class="dropdown-menu dropdown-menu-right"> + <li><a href="https://bugs.gentoo.org/buglist.cgi?quicksearch={{ E.C }}/{{ E.P }}" target="_blank"> + <span class="fa fa-fw fa-bug"></span> + Related bugs + </a></li> + <li><a href="https://wiki.gentoo.org/index.php?title=Special%3ASearch&fulltext=Search&search={{ E.P }}" target="_blank"> + <span class="fa fa-fw fa-book"></span> + Documentation + </a></li> + <li><a href="https://forums.gentoo.org/search.php?search_terms=all&show_results=topics&search_keywords={{ E.P }}&mode=results" target="_blank"> + <span class="fa fa-fw fa-comments-o"></span> + Forums posts + </a></li> + <li role="separator" class="divider"></li> + <li><a href="https://gitweb.gentoo.org/repo/{{ E.R }}.git/tree/{{ E.C }}/{{ E.P }}" target="_blank"> + <span class="fa fa-fw fa-code-fork"></span> + Git repository browser + </a></li> + <li><a href="https://gitweb.gentoo.org/repo/{{ E.R }}.git/log/{{ E.C }}/{{ E.P }}?showmsg=1" target="_blank"> + <span class="fa fa-fw fa-history"></span> + Git log + </a></li> + <li><a href="https://gitweb.gentoo.org/repo/{{ E.R }}.git/atom/{{ E.C }}/{{ E.P }}?h=master" target="_blank"> + <span class="fa fa-fw fa-rss"></span> + Changes feed + </a></li> + <li role="separator" class="divider"></li> + <li><a href="http://www.portagefilelist.de/site/query/listPackageVersions/?category={{ E.C }}&package={{ E.P }}&do#result" target="_blank"> + <span class="fa fa-fw fa-files-o"></span> + Installed files <small>(via PFL<span class="fa fa-fw fa-external-link-square"></span>)</small> + </a></li> + </ul> + </div> + </div> + {{ E.Descriptions }} + <br> + <small class="text-muted"> + </small> + <div class="kk-inline-changelog-entry"> + <a href="https://gitweb.gentoo.org/repo/{{ E.R }}.git/commit/?id={{ E.CommitId }}" title="Git commit"> + <span class="octicon octicon-git-pull-request"></span> + <span class="kk-commit-message"> + {{ E.CommitMsg}} + </span> + </a> + </div> + </div> + <div class="col-xs-12 col-md-6"> + <small class="text-muted pull-right"> + <span>{{ E.TimeStamp|date:"D d b Y G i" }}</span> + </small> + <div class="kk-version-card"> + <p><strong>{{ E.V }}</strong><span class="kk-slot"> : {{ E.Slot }} 0</span></p> + <p> + {% for K in E.EK_tmp %} + {% if K.EbuildId.EbuildId == E.EbuildId and K.KeywordId.Keyword != '*' and '-' not in K.KeywordId.Keyword %} + {% if K.Status == 'Stable' %}<span class="label kk-keyword-stable" title="{{ E.V }} is stable on {{ K.KeywordId.Keyword }}">{{ K.KeywordId.Keyword }}</span>{% endif %} + {% if K.Status == 'Unstable' %}<span class="label kk-keyword-testing" title="{{ E.V }} is testing on {{ K.KeywordId.Keyword }}">~{{ K.KeywordId.Keyword }}</span>{% endif %} + {% if K.Status == 'Negative' %}<span class="label kk-keyword-negative" title="{{ E.V }} is negative on {{ K.KeywordId.Keyword }}">-{{ K.KeywordId.Keyword }}{% endif %} + {% endif %} + {% endfor %} + </p> + </div> + </div> + </div> +</li> +{% endfor %} |