Skip to content
This repository has been archived by the owner on Jun 29, 2020. It is now read-only.

Commit

Permalink
レビューで指摘もらった箇所修正
Browse files Browse the repository at this point in the history
  • Loading branch information
tunacook committed Nov 30, 2014
1 parent 40e6a6f commit 8a79731
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/statics/less/projects.less
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
}
aside {
margin-top: 15px;
.btn {
.project-join-btn {
width: 100%;
}
.member-list {
Expand Down
2 changes: 1 addition & 1 deletion src/templates/projects/project_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ <h1>{{ project.title }}</h1>
{% endblock %}
{% block content-aside %}
{% if user has 'projects.join_project' of project %}
<a href="{% url 'projects_project_join' pk=project.pk %}" class="btn btn-success btn-primary btn-lg">
<a href="{% url 'projects_project_join' pk=project.pk %}" class="btn btn-success btn-primary project-join-btn btn-lg">
<span class="glyphicon glyphicon-plus"></span>
<span>{% trans "Join the project" %}</span>
<form method="POST" style="display: none;">{% csrf_token %}</form>
Expand Down
3 changes: 3 additions & 0 deletions src/templates/projects/project_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@ <h2 class="header-left">
{% trans "Active projects" %}
<p><small>現在活動中のプロジェクトです</small></p>
</h2>

{% if user has 'projects.add_project' %}
<div class="header-right">
<a href="{% url "projects_project_create" %}" class="btn btn-success btn-primary btn-lg" role="button">
<span class="glyphicon glyphicon-plus"></span>
プロジェクトを発足する</a>
</div>
{% endif %}
</div>

<div class="row list-group tiled-project-list">
Expand Down

0 comments on commit 8a79731

Please sign in to comment.