Merge pull request #656 from pcoder/task/5487/warn_users_before_terminating_vm
Task/5487/warn users before terminating vm
This commit is contained in:
		
				commit
				
					
						3de172adf2
					
				
			
		
					 3 changed files with 40 additions and 13 deletions
				
			
		|  | @ -8,7 +8,7 @@ msgid "" | ||||||
| msgstr "" | msgstr "" | ||||||
| "Project-Id-Version: PACKAGE VERSION\n" | "Project-Id-Version: PACKAGE VERSION\n" | ||||||
| "Report-Msgid-Bugs-To: \n" | "Report-Msgid-Bugs-To: \n" | ||||||
| "POT-Creation-Date: 2018-07-05 23:15+0000\n" | "POT-Creation-Date: 2018-08-22 21:11+0000\n" | ||||||
| "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||||||
| "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||||
| "Language-Team: LANGUAGE <LL@li.org>\n" | "Language-Team: LANGUAGE <LL@li.org>\n" | ||||||
|  | @ -290,9 +290,8 @@ msgid "" | ||||||
| "You are not making any payment yet. After placing your order, you will be " | "You are not making any payment yet. After placing your order, you will be " | ||||||
| "taken to the Submit Payment Page." | "taken to the Submit Payment Page." | ||||||
| msgstr "" | msgstr "" | ||||||
| "Es wird noch keine Bezahlung vorgenommen. Die Bezahlung wird erst " | "Es wird noch keine Bezahlung vorgenommen. Die Bezahlung wird erst ausgelöst, " | ||||||
| "ausgelöst, nachdem Du die Bestellung auf der nächsten Seite bestätigt " | "nachdem Du die Bestellung auf der nächsten Seite bestätigt hast." | ||||||
| "hast." |  | ||||||
| 
 | 
 | ||||||
| msgid "SUBMIT" | msgid "SUBMIT" | ||||||
| msgstr "ABSENDEN" | msgstr "ABSENDEN" | ||||||
|  | @ -469,9 +468,9 @@ msgid "" | ||||||
| "database." | "database." | ||||||
| msgstr "" | msgstr "" | ||||||
| "Bitte wähle eine der zuvor genutzten Kreditkarten oder gib Deine " | "Bitte wähle eine der zuvor genutzten Kreditkarten oder gib Deine " | ||||||
| "Kreditkartendetails unten an. Die Bezahlung wird über " | "Kreditkartendetails unten an. Die Bezahlung wird über <a href=\"https://" | ||||||
| "<a href=\"https://stripe.com\" target=\"_blank\">Stripe</a> abgewickelt. " | "stripe.com\" target=\"_blank\">Stripe</a> abgewickelt. Wir speichern Deine " | ||||||
| "Wir speichern Deine Kreditkartendetails nicht in unserer Datenbank." | "Kreditkartendetails nicht in unserer Datenbank." | ||||||
| 
 | 
 | ||||||
| msgid "" | msgid "" | ||||||
| "Please fill in your credit card information below. We are using <a href=" | "Please fill in your credit card information below. We are using <a href=" | ||||||
|  | @ -631,6 +630,12 @@ msgstr "" | ||||||
| "Bitte entschuldige, es scheint ein unerwarteter Fehler aufgetreten zu sein. " | "Bitte entschuldige, es scheint ein unerwarteter Fehler aufgetreten zu sein. " | ||||||
| "Versuche es doch bitte noch einmal." | "Versuche es doch bitte noch einmal." | ||||||
| 
 | 
 | ||||||
|  | msgid "Attention:" | ||||||
|  | msgstr "Achtung:" | ||||||
|  | 
 | ||||||
|  | msgid "terminating VM can not be reverted." | ||||||
|  | msgstr "Das Beenden kann nicht rückgängig gemacht werden." | ||||||
|  | 
 | ||||||
| msgid "Something doesn't work?" | msgid "Something doesn't work?" | ||||||
| msgstr "Etwas funktioniert nicht?" | msgstr "Etwas funktioniert nicht?" | ||||||
| 
 | 
 | ||||||
|  | @ -643,8 +648,12 @@ msgstr "KONTAKT" | ||||||
| msgid "Terminate your Virtual Machine" | msgid "Terminate your Virtual Machine" | ||||||
| msgstr "Deine Virtuelle Maschine beenden" | msgstr "Deine Virtuelle Maschine beenden" | ||||||
| 
 | 
 | ||||||
| msgid "Do you want to cancel your Virtual Machine" | msgid "" | ||||||
| msgstr "Bist Du sicher, dass Du Deine virtuelle Maschine beenden willst" | "Terminated VM can not be revived and will not be refunded. Do you want to " | ||||||
|  | "terminate your VM?" | ||||||
|  | msgstr "" | ||||||
|  | "Beendete VMs können nicht wiederhergestellt oder erstattet werden. " | ||||||
|  | "Möchtest du die VM beenden?" | ||||||
| 
 | 
 | ||||||
| #, python-format | #, python-format | ||||||
| msgid "" | msgid "" | ||||||
|  | @ -723,8 +732,8 @@ msgstr "Es scheint, als hättest du diese Karte bereits hinzugefügt" | ||||||
| 
 | 
 | ||||||
| #, python-brace-format | #, python-brace-format | ||||||
| msgid "An error occurred while associating the card. Details: {details}" | msgid "An error occurred while associating the card. Details: {details}" | ||||||
| msgstr "Beim Verbinden der Karte ist ein Fehler aufgetreten. Details: " | msgstr "" | ||||||
| "{details}" | "Beim Verbinden der Karte ist ein Fehler aufgetreten. Details: {details}" | ||||||
| 
 | 
 | ||||||
| msgid "Successfully associated the card with your account" | msgid "Successfully associated the card with your account" | ||||||
| msgstr "Die Karte wurde erfolgreich mit deinem Konto verbunden" | msgstr "Die Karte wurde erfolgreich mit deinem Konto verbunden" | ||||||
|  | @ -807,6 +816,9 @@ msgstr "" | ||||||
| "Es gab einen Fehler bei der Bearbeitung Deine Anfrage. Bitte versuche es " | "Es gab einen Fehler bei der Bearbeitung Deine Anfrage. Bitte versuche es " | ||||||
| "noch einmal." | "noch einmal." | ||||||
| 
 | 
 | ||||||
|  | #~ msgid "Do you want to cancel your Virtual Machine" | ||||||
|  | #~ msgstr "Bist Du sicher, dass Du Deine virtuelle Maschine beenden willst" | ||||||
|  | 
 | ||||||
| #~ msgid "Reset your password" | #~ msgid "Reset your password" | ||||||
| #~ msgstr "Passwort zurücksetzen" | #~ msgstr "Passwort zurücksetzen" | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -146,6 +146,10 @@ | ||||||
|   text-align: center; |   text-align: center; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | .vm-vmid-with-warning { | ||||||
|  |   padding: 50px 0 33px !important; | ||||||
|  | } | ||||||
|  | 
 | ||||||
| .vm-vmid .alert { | .vm-vmid .alert { | ||||||
|   margin-top: 15px; |   margin-top: 15px; | ||||||
|   margin-bottom: -60px; |   margin-bottom: -60px; | ||||||
|  | @ -183,6 +187,13 @@ | ||||||
|   margin-top: 25px; |   margin-top: 25px; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | .vm-terminate-warning { | ||||||
|  |   letter-spacing: 0.6px; | ||||||
|  |   font-size: 12px; | ||||||
|  |   font-weight: 400; | ||||||
|  |   color: #373636; | ||||||
|  | } | ||||||
|  | 
 | ||||||
| .vm-contact-us { | .vm-contact-us { | ||||||
|   margin: 25px 0 30px; |   margin: 25px 0 30px; | ||||||
|   /* text-align: center; */ |   /* text-align: center; */ | ||||||
|  |  | ||||||
|  | @ -51,7 +51,7 @@ | ||||||
| 			</div> | 			</div> | ||||||
| 			<div class="vm-detail-item"> | 			<div class="vm-detail-item"> | ||||||
| 				<h2 class="vm-detail-title">{% trans "Status" %} <img src="{% static 'hosting/img/connected.svg' %}" class="un-icon"></h2> | 				<h2 class="vm-detail-title">{% trans "Status" %} <img src="{% static 'hosting/img/connected.svg' %}" class="un-icon"></h2> | ||||||
| 				<div class="vm-vmid"> | 				<div class="vm-vmid vm-vmid-with-warning"> | ||||||
| 					<div class="vm-item-subtitle">{% trans "Your VM is" %}</div> | 					<div class="vm-item-subtitle">{% trans "Your VM is" %}</div> | ||||||
| 						<div id="terminate-VM" data-alt="{% trans 'Terminating' %}"> | 						<div id="terminate-VM" data-alt="{% trans 'Terminating' %}"> | ||||||
| 							{% if virtual_machine.state == 'PENDING' %} | 							{% if virtual_machine.state == 'PENDING' %} | ||||||
|  | @ -74,6 +74,10 @@ | ||||||
| 							{% endif %} | 							{% endif %} | ||||||
| 						</div> | 						</div> | ||||||
| 				</div> | 				</div> | ||||||
|  | 				<div class="vm-terminate-warning text-center"> | ||||||
|  | 					<p>{% trans "Attention:" %}</p> | ||||||
|  | 					<p>{% trans "terminating VM can not be reverted." %}</p> | ||||||
|  | 				</div> | ||||||
| 			</div> | 			</div> | ||||||
| 		</div> | 		</div> | ||||||
| 		<div class="vm-contact-us"> | 		<div class="vm-contact-us"> | ||||||
|  | @ -105,7 +109,7 @@ | ||||||
| 					<div class="modal-icon"><i class="fa fa-ban" aria-hidden="true"></i></div> | 					<div class="modal-icon"><i class="fa fa-ban" aria-hidden="true"></i></div> | ||||||
| 					<h4 class="modal-title" id="ModalLabel">{% trans "Terminate your Virtual Machine" %}</h4> | 					<h4 class="modal-title" id="ModalLabel">{% trans "Terminate your Virtual Machine" %}</h4> | ||||||
| 					<div class="modal-text"> | 					<div class="modal-text"> | ||||||
| 						<p>{% trans "Do you want to cancel your Virtual Machine" %} ?</p> | 						<p>{% trans "Terminated VM can not be revived and will not be refunded. Do you want to terminate your VM?" %}</p> | ||||||
| 						<p><strong>{{virtual_machine.name}}</strong></p> | 						<p><strong>{{virtual_machine.name}}</strong></p> | ||||||
| 					</div> | 					</div> | ||||||
|           <div class="modal-footer"> |           <div class="modal-footer"> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue