Show "No submission" message during all non-enrolling game states
This commit is contained in:
		
							parent
							
								
									6559eb7e2a
								
							
						
					
					
						commit
						0342764081
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -102,7 +102,7 @@ include "partials/head.php";
 | 
				
			||||||
                ) { ?>
 | 
					                ) { ?>
 | 
				
			||||||
                    <p>You haven't submitted work to this contest.</p>
 | 
					                    <p>You haven't submitted work to this contest.</p>
 | 
				
			||||||
                    <p><a href="/games/<?= $game->id ?>/submit" class='call-to-action'>Submit to <?= $game->name ?></a></p>
 | 
					                    <p><a href="/games/<?= $game->id ?>/submit" class='call-to-action'>Submit to <?= $game->name ?></a></p>
 | 
				
			||||||
                <?php } else if ($game->status_id !== STATUS_DONE && !$submission) { ?>
 | 
					                <?php } else if ($game->status_id !== STATUS_ENROLLING && !$submission) { ?>
 | 
				
			||||||
                <p>You didn't submit a work to this contest.</p>
 | 
					                <p>You didn't submit a work to this contest.</p>
 | 
				
			||||||
                <?php } ?>
 | 
					                <?php } ?>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue