Merge pull request #444 from tiwariav/bug/3677/ssh-key-modal

bugfix/3677 ssh modal key wrapping
This commit is contained in:
Arvind Tiwari 2017-08-12 00:42:59 +05:30 committed by GitHub
commit fcc8c4718c
3 changed files with 8 additions and 5 deletions

View file

@ -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: 2017-08-04 18:25+0000\n" "POT-Creation-Date: 2017-08-11 01:16+0530\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"
@ -399,8 +399,8 @@ msgstr "Möchtest Du den Schlüssel löschen?"
msgid "Show" msgid "Show"
msgstr "Anzeigen" msgstr "Anzeigen"
msgid "Public ssh key" msgid "Public SSH Key"
msgstr "" msgstr "Public SSH Key"
msgid "Download" msgid "Download"
msgstr "" msgstr ""

View file

@ -297,6 +297,9 @@
.form-ssh h3{ .form-ssh h3{
margin-bottom: 40px; margin-bottom: 40px;
} }
.key_contain {
word-break: break-all;
}
.custom_form_button{ .custom_form_button{
border-radius: 0; border-radius: 0;
} }

View file

@ -77,8 +77,8 @@
</button> </button>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<h4 class="modal-title" id="ModalLabel_Public_Key">{% trans "Public ssh key" %}</h4> <h4 class="modal-title" id="ModalLabel_Public_Key">{% trans "Public SSH key" %}</h4>
<p style="margin-top: 10px;">{{ user_key.public_key }}</p> <p class="key_contain" style="margin-top: 10px;">{{ user_key.public_key }}</p>
<div class="modal-footer"> <div class="modal-footer">
</div> </div>
</div> </div>