mirror of
https://github.com/kristoferssolo/FOSSDB.git
synced 2026-03-22 00:26:22 +00:00
Fix HostingPlatform
Users can add projects and associated hosting platforms and respective URLs at the same time.
This commit is contained in:
@@ -11,26 +11,12 @@
|
||||
</button>
|
||||
<br>
|
||||
{% for project in projects %}
|
||||
<b>@{{ project.author.username }}</b>
|
||||
<b>@{{ project.owner }}</b>
|
||||
<h4>{{ project.name }}</h4>
|
||||
<p>{{ project.description }}</p>
|
||||
<ul>
|
||||
{% for license in project.licenses.all %}
|
||||
<li>
|
||||
<a href="{{ license.url }}">{{ license.short_name }}</a>
|
||||
</li>
|
||||
{% empty %}
|
||||
<p>No license</p>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<ul>
|
||||
{% for language in project.projectprogramminglanguage_set.all %}
|
||||
<li>{{ language.language }} | {{ language.percentage }}%</li>
|
||||
{% empty %}
|
||||
<p>No language</p>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<br>
|
||||
<a href="{{ project.get_absolute_url }}">
|
||||
<button>Read more</button>
|
||||
</a>
|
||||
<p>{{ project.date_created }}</p>
|
||||
{% empty %}
|
||||
<p>No projects yet (</p>
|
||||
|
||||
Reference in New Issue
Block a user