{% extends "base.html" %} {% block title %}Dashboard ยท Openhub{% endblock %} {% block content %}
{% if repos.is_empty() %}

Welcome to Openhub{% if let Some(u) = ctx.user %}, {{ u.name() }}{% endif %}

Get set up in two steps.

  1. Add an SSH key so you can push from the command line.
  2. Create a repository and push your code to it.
{% endif %}

Open pull requests

{% if pulls.is_empty() %}
{{ crate::web::fmt::icon("git-pull-request")|safe }}

No open pull requests in your repositories.

{% else %}
{% for (pr, owner, name) in pulls %}
{{ crate::web::fmt::icon("git-pull-request")|safe }}
{{ owner }}/{{ name }} {{ pr.title }}
#{{ pr.number }} opened by {{ pr.author }}
{% endfor %}
{% endif %}
{% if !recent.is_empty() %}
{% let repos = recent %}
{% include "partials/repo_list.html" %}
{% endif %}
{% endblock %}