mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2024-11-10 15:21:56 +00:00
Rejig gather join buttons
This commit is contained in:
parent
67cd9ef46e
commit
94708b9d0d
1 changed files with 27 additions and 13 deletions
|
@ -663,6 +663,7 @@ var Gather = React.createClass({
|
|||
);
|
||||
}
|
||||
|
||||
if (gather.gatherers.length > 0) {
|
||||
return (
|
||||
<div>
|
||||
<div className="panel panel-primary add-bottom">
|
||||
|
@ -678,6 +679,19 @@ var Gather = React.createClass({
|
|||
{previousGather}
|
||||
</div>
|
||||
);
|
||||
} else {
|
||||
return (
|
||||
<div>
|
||||
<div className="panel panel-primary add-bottom">
|
||||
<div className="panel-heading">Current Gather</div>
|
||||
<div className="panel-body text-center">Be the first to join the gather
|
||||
</div>
|
||||
</div>
|
||||
<Gatherers gather={gather} user={user} thisGatherer={thisGatherer} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue