PHP Classes

File: templates/github_php_project/detail.html.twig

Recommend this page to a friend!
  Packages of Julio Vergara   GitHub API   templates/github_php_project/detail.html.twig   Download  
File: templates/github_php_project/detail.html.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: GitHub API
Present the most starred PHP projects in GitHub
Author: By
Last change:
Date: 6 days ago
Size: 1,330 bytes
 

Contents

Class file image Download
{% extends 'base.html.twig' %} {% block title %}{{ project.name }}{% endblock %} {% block body %} <div class="detail-header"> <h1>{{ project.name }}</h1> </div> {% if project.description %} <div class="detail-description">{{ project.description }}</div> {% endif %} <div class="detail-grid"> <div class="detail-metric"> <div class="detail-metric-label">Stars</div> <div class="detail-metric-value stars">{{ project.stars|number_format }}</div> </div> <div class="detail-metric"> <div class="detail-metric-label">Created</div> <div class="detail-metric-value">{{ project.createdDate|date('M d, Y') }}</div> </div> <div class="detail-metric"> <div class="detail-metric-label">Last Push</div> <div class="detail-metric-value">{{ project.lastPushDate ? project.lastPushDate|date('M d, Y') : 'N/A' }}</div> </div> <div class="detail-metric"> <div class="detail-metric-label">Repository</div> <div class="detail-metric-value"><a href="{{ project.url }}" target="_blank" rel="noopener">{{ project.url }}</a></div> </div> </div> <a href="{{ path('github_projects_index') }}" class="back-link">Back to projects</a> {% endblock %}