Commit d70ec6ea authored by João Paulo Esper's avatar João Paulo Esper
Browse files

Desabilitado o botão Add Member se não existem usuários para ser adicionados no slice

parent 0e2b10a4
......@@ -537,7 +537,10 @@
<p>{% trans "No other project members to add in your slice." %}</p>
{% endif %}
<button type="submit" name="add_members" class="btn btn-primary">{% trans "Add members" %}</button>
{% if project_members %}
<button type="submit" name="add_members" class="btn btn-primary">{% trans "Add members" %}</button>
{% endif %}
</form>
</div>
</div>
......@@ -601,3 +604,4 @@
{% endblock content %}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment