Nelze komentovat uzavrene korektury.
This commit is contained in:
		
							parent
							
								
									c9754b98e3
								
							
						
					
					
						commit
						23ae79f61a
					
				
					 2 changed files with 7 additions and 0 deletions
				
			
		
							
								
								
									
										
											BIN
										
									
								
								korektury/static/korektury/imgs/comment-gr.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								korektury/static/korektury/imgs/comment-gr.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 4.1 KiB | 
|  | @ -145,9 +145,16 @@ | ||||||
|           <img src="{% static "korektury/imgs/edit.png" %}"/> |           <img src="{% static "korektury/imgs/edit.png" %}"/> | ||||||
| 				</button> | 				</button> | ||||||
| 				{% endif %} | 				{% endif %} | ||||||
|  | 				{% if o.status = 'opraveno' or o.status = 'neni_chyba'  %} | ||||||
|  | 				<button type='button' title='Korekturu nelze komentovat, protože už je uzavřená'> | ||||||
|  |           <img src="{% static "korektury/imgs/comment-gr.png" %}"/> | ||||||
|  | 				</button> | ||||||
|  | 				{% else %} | ||||||
| 				<button type='button' onclick='box_edit(this, "comment");' title='Komentovat'> | 				<button type='button' onclick='box_edit(this, "comment");' title='Komentovat'> | ||||||
|           <img src="{% static "korektury/imgs/comment.png" %}"/> |           <img src="{% static "korektury/imgs/comment.png" %}"/> | ||||||
| 				</button> | 				</button> | ||||||
|  | 				{% endif %} | ||||||
|  | 
 | ||||||
| 				</span> | 				</span> | ||||||
| 				<button type='button' onclick='toggle_visibility(this);' title='Skrýt/Zobrazit'> | 				<button type='button' onclick='toggle_visibility(this);' title='Skrýt/Zobrazit'> | ||||||
|           <img src="{% static "korektury/imgs/hide.png" %}"/> |           <img src="{% static "korektury/imgs/hide.png" %}"/> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue