Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync with upstrem repo #5

Merged
merged 51 commits into from
Dec 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
8c2f9e4
Fix trumbowyg font-color on fullscreen (#8106)
Skrypt Dec 21, 2020
693de82
CodeMirror 5.59 (#8110)
agriffard Dec 21, 2020
52fd386
Forms: Support LocalRedirectResult (#8112)
arkadiuszwojcik Dec 22, 2020
adc95a4
mkdocs-material 6.2.2
agriffard Dec 22, 2020
ebd2472
Revert "Cont type badges (#8040)"
agriffard Dec 22, 2020
7a95d8a
Azure Blobs storage 1.2 (#8050)
agriffard Dec 23, 2020
a6af9a0
Correctly generate cdn base url for local scripts (#8042)
deanmarcussen Dec 23, 2020
d7eb282
Remove site name from login page (#8123)
hishamco Dec 23, 2020
6820fc1
Workflows badges (#8127)
agriffard Dec 23, 2020
c7ee8ac
Fields badges (#8128)
agriffard Dec 23, 2020
40ee8ad
Fix Workflow search styles. (#8139)
Skrypt Dec 23, 2020
253567d
Await in place of GetAwaiter() (#8140)
jtkech Dec 23, 2020
203d9ca
Code Mirror assets (#8125)
agriffard Dec 23, 2020
7e05e01
jQueryUI documentation (#8116)
agriffard Dec 23, 2020
894ab0c
Bump OpenIddict to 3.0.0
kevinchalet Dec 23, 2020
9dd0c33
fixes #8020 (#8089)
giannik Dec 24, 2020
b5c5ad0
Tenants buttons (#8131)
agriffard Dec 24, 2020
779118a
Admin: Display buttons text (#8086)
agriffard Dec 24, 2020
cfa5d69
Actions button in Widget
agriffard Dec 24, 2020
b98e33b
Add credential overloads to Key Vault Configuration (#8132)
deanmarcussen Dec 24, 2020
24d8cf9
pymdown-extensions 8.1.0
agriffard Dec 25, 2020
6c829e2
Admin UI: Header buttons (#8083)
Skrypt Dec 25, 2020
7637079
Add @benschi11 as a contributor
agriffard Dec 25, 2020
e77c814
Add @marcbruins as a contributor
agriffard Dec 25, 2020
07d7032
Add @malaprade as a contributor
agriffard Dec 25, 2020
754687f
Update @lahma as a contributor
agriffard Dec 25, 2020
c7bb926
Add @mdameer as a contributor
agriffard Dec 25, 2020
a7ae067
Add @axunonb as a contributor
agriffard Dec 25, 2020
ad55a9c
Add @pimhwang as a contributor
agriffard Dec 25, 2020
8bd9ec4
Add @omidnasri as a contributor
agriffard Dec 25, 2020
822e956
Add @mcoztunc as a contributor
agriffard Dec 25, 2020
0aa6c57
Add @npietron as a contributor
agriffard Dec 25, 2020
c134a22
Add @nianjitao as a contributor
agriffard Dec 25, 2020
126695a
Add @praedo as a contributor
agriffard Dec 25, 2020
3246c35
Add @rms81 as a contributor
agriffard Dec 25, 2020
22440cf
Add @cesspoolk as a contributor
agriffard Dec 25, 2020
0f6d3ae
Add @rgcode2012 as a contributor
agriffard Dec 25, 2020
2b99f4b
Add @valiantzhao as a contributor
agriffard Dec 25, 2020
868bd15
Add @wahidbitar as a contributor
agriffard Dec 25, 2020
bbc8689
Add @alexzcx as a contributor
agriffard Dec 25, 2020
74041cf
Add @khoinguyenict as a contributor
agriffard Dec 25, 2020
e30cd0a
Update @nadavhury as a contributor
agriffard Dec 25, 2020
23279c4
Revert flexbox on main layout (#8159)
Skrypt Dec 25, 2020
d646fe6
Remove unused services in Menu driver (#8151)
giannik Dec 26, 2020
39ef676
Create ManageMediaOptions Permission (#8142)
Skrypt Dec 26, 2020
2316f55
Allow TimeSpan.MaxValue for locking times (#8163)
jtkech Dec 26, 2020
a4350ae
Update js cookie (#8147)
agriffard Dec 26, 2020
178cc3f
Code Mirror: Cloudflare cdn (#8150)
agriffard Dec 26, 2020
9642b4a
bootstrap select and slider style resource (#8156)
giannik Dec 26, 2020
3c56a56
ContentEventDisplayDriver
agriffard Dec 26, 2020
8d4c254
ContentTaskDisplayDriverDriver
agriffard Dec 27, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
174 changes: 173 additions & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,8 @@
"avatar_url": "https://avatars1.githubusercontent.com/u/171892?v=4",
"profile": "http://www.quartz-scheduler.net/",
"contributions": [
"code"
"code",
"translation"
]
},
{
Expand Down Expand Up @@ -1953,6 +1954,177 @@
"contributions": [
"code"
]
},
{
"login": "benschi11",
"name": "Benedikt Neuhold",
"avatar_url": "https://avatars1.githubusercontent.com/u/698992?v=4",
"profile": "http://www.neuhold.pro",
"contributions": [
"translation"
]
},
{
"login": "MarcBruins",
"name": "Marc Bruins",
"avatar_url": "https://avatars1.githubusercontent.com/u/676025?v=4",
"profile": "http://www.marcbruins.nl",
"contributions": [
"translation"
]
},
{
"login": "Malaprade",
"name": "Jarno Malaprade",
"avatar_url": "https://avatars0.githubusercontent.com/u/18284078?v=4",
"profile": "https://github.com/Malaprade",
"contributions": [
"translation"
]
},
{
"login": "mdameer",
"name": "Mohammad Dameer",
"avatar_url": "https://avatars3.githubusercontent.com/u/2022320?v=4",
"profile": "http://www.mdameer.com",
"contributions": [
"translation"
]
},
{
"login": "axunonb",
"name": "axunonb",
"avatar_url": "https://avatars2.githubusercontent.com/u/10255664?v=4",
"profile": "https://www.axuno.net",
"contributions": [
"translation"
]
},
{
"login": "PimHwang",
"name": "Pim Hwang",
"avatar_url": "https://avatars2.githubusercontent.com/u/3014302?v=4",
"profile": "http://www.coming.com.cn",
"contributions": [
"translation"
]
},
{
"login": "omidnasri",
"name": "Omid Nasri",
"avatar_url": "https://avatars3.githubusercontent.com/u/11842391?v=4",
"profile": "http://www.omidnasri.ir",
"contributions": [
"translation"
]
},
{
"login": "mcoztunc",
"name": "Mustafa Can Öztunç",
"avatar_url": "https://avatars0.githubusercontent.com/u/2112981?v=4",
"profile": "https://github.com/mcoztunc",
"contributions": [
"translation"
]
},
{
"login": "npietron",
"name": "npietron",
"avatar_url": "https://avatars1.githubusercontent.com/u/17119997?v=4",
"profile": "https://github.com/npietron",
"contributions": [
"translation"
]
},
{
"login": "NianJiTao",
"name": "nianjitao",
"avatar_url": "https://avatars0.githubusercontent.com/u/8943258?v=4",
"profile": "http://www.fmtv365.com",
"contributions": [
"translation"
]
},
{
"login": "praedo",
"name": "Maksim Zhdan",
"avatar_url": "https://avatars3.githubusercontent.com/u/3378144?v=4",
"profile": "http://praedo.ru",
"contributions": [
"translation"
]
},
{
"login": "rms81",
"name": "KamZone",
"avatar_url": "https://avatars1.githubusercontent.com/u/1382857?v=4",
"profile": "http://umprogramador.net/",
"contributions": [
"translation"
]
},
{
"login": "cesspoolK",
"name": "Tommi Sääskilahti",
"avatar_url": "https://avatars2.githubusercontent.com/u/49377661?v=4",
"profile": "https://www.tommisaaskilahti.fi",
"contributions": [
"translation"
]
},
{
"login": "rgcode2012",
"name": "Bnis Profile",
"avatar_url": "https://avatars2.githubusercontent.com/u/29854720?v=4",
"profile": "http://www.burgan-systems.com",
"contributions": [
"translation"
]
},
{
"login": "valiantzhao",
"name": "valiant.zhao",
"avatar_url": "https://avatars3.githubusercontent.com/u/2221730?v=4",
"profile": "https://github.com/valiantzhao",
"contributions": [
"translation"
]
},
{
"login": "WahidBitar",
"name": "Wahid Bitar",
"avatar_url": "https://avatars0.githubusercontent.com/u/1735126?v=4",
"profile": "https://github.com/WahidBitar",
"contributions": [
"translation"
]
},
{
"login": "alexzcx",
"name": "Alex Zhao",
"avatar_url": "https://avatars1.githubusercontent.com/u/5806994?v=4",
"profile": "https://github.com/alexzcx",
"contributions": [
"translation"
]
},
{
"login": "KhoiNguyenICT",
"name": "khoinguyenict",
"avatar_url": "https://avatars0.githubusercontent.com/u/25011643?v=4",
"profile": "https://github.com/KhoiNguyenICT",
"contributions": [
"translation"
]
},
{
"login": "nadavhury",
"name": "Nadav Hury",
"avatar_url": "https://avatars3.githubusercontent.com/u/1974430?v=4",
"profile": "https://github.com/nadavhury",
"contributions": [
"translation"
]
}
],
"skipCi": true
Expand Down
29 changes: 27 additions & 2 deletions Contributors.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Contributors ✨

<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-208-orange.svg?style=flat-square)](#contributors-)
[![All Contributors](https://img.shields.io/badge/all_contributors-227-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
Expand Down Expand Up @@ -56,7 +56,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<td align="center"><a href="https://github.com/wazowsk1"><img src="https://avatars3.githubusercontent.com/u/10253291?v=4" width="100px;" alt=""/><br /><sub><b>Wazowski</b></sub></a><br /><a href="https://github.com/OrchardCMS/OrchardCore/commits?author=wazowsk1" title="Code">💻</a></td>
<td align="center"><a href="https://www.systemsltd.com/"><img src="https://avatars3.githubusercontent.com/u/6080471?v=4" width="100px;" alt=""/><br /><sub><b>Shahid Khan</b></sub></a><br /><a href="https://github.com/OrchardCMS/OrchardCore/commits?author=shahid-pk" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/microposmp"><img src="https://avatars1.githubusercontent.com/u/49494169?v=4" width="100px;" alt=""/><br /><sub><b>Magnus Pettersson</b></sub></a><br /><a href="#translation-microposmp" title="Translation">🌍</a> <a href="https://github.com/OrchardCMS/OrchardCore/commits?author=microposmp" title="Code">💻</a></td>
<td align="center"><a href="http://www.quartz-scheduler.net/"><img src="https://avatars1.githubusercontent.com/u/171892?v=4" width="100px;" alt=""/><br /><sub><b>Marko Lahma</b></sub></a><br /><a href="https://github.com/OrchardCMS/OrchardCore/commits?author=lahma" title="Code">💻</a></td>
<td align="center"><a href="http://www.quartz-scheduler.net/"><img src="https://avatars1.githubusercontent.com/u/171892?v=4" width="100px;" alt=""/><br /><sub><b>Marko Lahma</b></sub></a><br /><a href="https://github.com/OrchardCMS/OrchardCore/commits?author=lahma" title="Code">💻</a> <a href="#translation-lahma" title="Translation">🌍</a></td>
</tr>
<tr>
<td align="center"><a href="http://www.endlessmountainsolutions.com"><img src="https://avatars0.githubusercontent.com/u/1848585?v=4" width="100px;" alt=""/><br /><sub><b>Jeff Olmstead</b></sub></a><br /><a href="https://github.com/OrchardCMS/OrchardCore/commits?author=jeffolmstead" title="Code">💻</a></td>
Expand Down Expand Up @@ -287,6 +287,31 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<td align="center"><a href="https://www.linoa.com"><img src="https://avatars1.githubusercontent.com/u/17902415?v=4" width="100px;" alt=""/><br /><sub><b>Julien Chomarat</b></sub></a><br /><a href="https://github.com/OrchardCMS/OrchardCore/commits?author=juchom" title="Documentation">📖</a></td>
<td align="center"><a href="https://github.com/3bit"><img src="https://avatars1.githubusercontent.com/u/1174592?v=4" width="100px;" alt=""/><br /><sub><b>Achim Gmeiner</b></sub></a><br /><a href="https://github.com/OrchardCMS/OrchardCore/commits?author=3bit" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/tropcicstefan"><img src="https://avatars1.githubusercontent.com/u/30324480?v=4" width="100px;" alt=""/><br /><sub><b>tropcicstefan</b></sub></a><br /><a href="https://github.com/OrchardCMS/OrchardCore/commits?author=tropcicstefan" title="Code">💻</a></td>
<td align="center"><a href="http://www.neuhold.pro"><img src="https://avatars1.githubusercontent.com/u/698992?v=4" width="100px;" alt=""/><br /><sub><b>Benedikt Neuhold</b></sub></a><br /><a href="#translation-benschi11" title="Translation">🌍</a></td>
<td align="center"><a href="http://www.marcbruins.nl"><img src="https://avatars1.githubusercontent.com/u/676025?v=4" width="100px;" alt=""/><br /><sub><b>Marc Bruins</b></sub></a><br /><a href="#translation-MarcBruins" title="Translation">🌍</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/Malaprade"><img src="https://avatars0.githubusercontent.com/u/18284078?v=4" width="100px;" alt=""/><br /><sub><b>Jarno Malaprade</b></sub></a><br /><a href="#translation-Malaprade" title="Translation">🌍</a></td>
<td align="center"><a href="http://www.mdameer.com"><img src="https://avatars3.githubusercontent.com/u/2022320?v=4" width="100px;" alt=""/><br /><sub><b>Mohammad Dameer</b></sub></a><br /><a href="#translation-mdameer" title="Translation">🌍</a></td>
<td align="center"><a href="https://www.axuno.net"><img src="https://avatars2.githubusercontent.com/u/10255664?v=4" width="100px;" alt=""/><br /><sub><b>axunonb</b></sub></a><br /><a href="#translation-axunonb" title="Translation">🌍</a></td>
<td align="center"><a href="http://www.coming.com.cn"><img src="https://avatars2.githubusercontent.com/u/3014302?v=4" width="100px;" alt=""/><br /><sub><b>Pim Hwang</b></sub></a><br /><a href="#translation-PimHwang" title="Translation">🌍</a></td>
<td align="center"><a href="http://www.omidnasri.ir"><img src="https://avatars3.githubusercontent.com/u/11842391?v=4" width="100px;" alt=""/><br /><sub><b>Omid Nasri</b></sub></a><br /><a href="#translation-omidnasri" title="Translation">🌍</a></td>
<td align="center"><a href="https://github.com/mcoztunc"><img src="https://avatars0.githubusercontent.com/u/2112981?v=4" width="100px;" alt=""/><br /><sub><b>Mustafa Can Öztunç</b></sub></a><br /><a href="#translation-mcoztunc" title="Translation">🌍</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/npietron"><img src="https://avatars1.githubusercontent.com/u/17119997?v=4" width="100px;" alt=""/><br /><sub><b>npietron</b></sub></a><br /><a href="#translation-npietron" title="Translation">🌍</a></td>
<td align="center"><a href="http://www.fmtv365.com"><img src="https://avatars0.githubusercontent.com/u/8943258?v=4" width="100px;" alt=""/><br /><sub><b>nianjitao</b></sub></a><br /><a href="#translation-NianJiTao" title="Translation">🌍</a></td>
<td align="center"><a href="http://praedo.ru"><img src="https://avatars3.githubusercontent.com/u/3378144?v=4" width="100px;" alt=""/><br /><sub><b>Maksim Zhdan</b></sub></a><br /><a href="#translation-praedo" title="Translation">🌍</a></td>
<td align="center"><a href="http://umprogramador.net/"><img src="https://avatars1.githubusercontent.com/u/1382857?v=4" width="100px;" alt=""/><br /><sub><b>KamZone</b></sub></a><br /><a href="#translation-rms81" title="Translation">🌍</a></td>
<td align="center"><a href="https://www.tommisaaskilahti.fi"><img src="https://avatars2.githubusercontent.com/u/49377661?v=4" width="100px;" alt=""/><br /><sub><b>Tommi Sääskilahti</b></sub></a><br /><a href="#translation-cesspoolK" title="Translation">🌍</a></td>
<td align="center"><a href="http://www.burgan-systems.com"><img src="https://avatars2.githubusercontent.com/u/29854720?v=4" width="100px;" alt=""/><br /><sub><b>Bnis Profile</b></sub></a><br /><a href="#translation-rgcode2012" title="Translation">🌍</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/valiantzhao"><img src="https://avatars3.githubusercontent.com/u/2221730?v=4" width="100px;" alt=""/><br /><sub><b>valiant.zhao</b></sub></a><br /><a href="#translation-valiantzhao" title="Translation">🌍</a></td>
<td align="center"><a href="https://github.com/WahidBitar"><img src="https://avatars0.githubusercontent.com/u/1735126?v=4" width="100px;" alt=""/><br /><sub><b>Wahid Bitar</b></sub></a><br /><a href="#translation-WahidBitar" title="Translation">🌍</a></td>
<td align="center"><a href="https://github.com/alexzcx"><img src="https://avatars1.githubusercontent.com/u/5806994?v=4" width="100px;" alt=""/><br /><sub><b>Alex Zhao</b></sub></a><br /><a href="#translation-alexzcx" title="Translation">🌍</a></td>
<td align="center"><a href="https://github.com/KhoiNguyenICT"><img src="https://avatars0.githubusercontent.com/u/25011643?v=4" width="100px;" alt=""/><br /><sub><b>khoinguyenict</b></sub></a><br /><a href="#translation-KhoiNguyenICT" title="Translation">🌍</a></td>
<td align="center"><a href="https://github.com/nadavhury"><img src="https://avatars3.githubusercontent.com/u/1974430?v=4" width="100px;" alt=""/><br /><sub><b>Nadav Hury</b></sub></a><br /><a href="#translation-nadavhury" title="Translation">🌍</a></td>
</tr>
</table>

Expand Down
6 changes: 3 additions & 3 deletions src/OrchardCore.Build/Dependencies.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<ItemGroup>
<PackageManagement Include="AngleSharp" Version="0.14.0" />
<PackageManagement Include="Azure.Extensions.AspNetCore.Configuration.Secrets" Version="1.0.2" />
<PackageManagement Include="Azure.Extensions.AspNetCore.DataProtection.Blobs" Version="1.0.1" />
<PackageManagement Include="Azure.Extensions.AspNetCore.DataProtection.Blobs" Version="1.2.0" />
<PackageManagement Include="Azure.Identity" Version="1.3.0" />
<PackageManagement Include="Azure.Storage.Blobs" Version="12.7.0" />
<PackageManagement Include="Castle.Core" Version="4.4.1" />
Expand All @@ -33,8 +33,8 @@
<PackageManagement Include="Newtonsoft.Json" Version="12.0.3" />
<PackageManagement Include="NLog.Web.AspNetCore" Version="4.9.3" />
<PackageManagement Include="NodaTime" Version="3.0.3" />
<PackageManagement Include="OpenIddict.AspNetCore" Version="[3.0.0-rc2.20607.88]" />
<PackageManagement Include="OpenIddict.Core" Version="[3.0.0-rc2.20607.88]" />
<PackageManagement Include="OpenIddict.AspNetCore" Version="3.0.0" />
<PackageManagement Include="OpenIddict.Core" Version="3.0.0" />
<PackageManagement Include="OrchardCore.Translations.All" Version="1.0.0-rc2-108003" />
<PackageManagement Include="Serilog.AspNetCore" Version="3.4.0" />
<PackageManagement Include="Shortcodes" Version="1.0.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
@if (!string.IsNullOrEmpty(Model.LocalizationSet) && Model.ContentItemCultures.Any())
{
<div class="btn-group" title="@T["Localizations"]">
<button type="button" class="btn btn-sm text-info" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fa fa-globe"></i>
<button type="button" class="btn btn-sm btn-info dropdown-toggle localizations" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span>@T["Localizations"]</span>
</button>
<div class="dropdown-menu dropdown-menu-right">
@foreach (var culture in Model.ContentItemCultures)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<style asp-name="bootstrap"></style>
<script asp-name="bootstrap" at="Foot"></script>
<script asp-name="jscookie" at="Foot"></script>
<script asp-name="js-cookie" at="Foot"></script>

<resources type="Header" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@

<input type="hidden" asp-for="Name" />

@if (Model.Editor.Shortcuts != null)
{
<div class="form-group">
@await DisplayAsync(Model.Editor.Shortcuts)
</div>
}

@await DisplayAsync(Model.Editor)

<div class="form-group">
Expand All @@ -46,11 +53,12 @@
<a asp-route-action="RemoveFieldFrom" asp-route-id="@Model.TypeDefinition.Name" asp-route-name="@field.Name" class="btn btn-danger btn-sm" role="button" itemprop="UnsafeUrl RemoveUrl">@T["Remove"]</a>
</div>
@field.DisplayName() <span class="hint dashed">@field.FieldDefinition.Name.CamelFriendly()</span>

@if (!string.IsNullOrEmpty(field.DisplayMode()))
{
<span class="badge ta-badge font-weight-normal" data-toggle="tooltip" title="@T["Display mode"]"><i class="fa fa-eye text-info"></i> @field.DisplayMode()</span>
<span class="badge ta-badge font-weight-normal" data-toggle="tooltip" title="@T["Display mode"]"><i class="fas fa-tv text-info"></i> @field.DisplayMode()</span>
}
@if (!string.IsNullOrEmpty(field.Editor()))
@if (!string.IsNullOrEmpty(field.Editor()))
{
<span class="badge ta-badge font-weight-normal" data-toggle="tooltip" title="@T["Editor"]"><i class="fa fa-edit text-info"></i> @field.Editor()</span>
}
Expand Down Expand Up @@ -101,13 +109,6 @@
<a asp-route-action="AddPartsTo" asp-route-id="@Model.TypeDefinition.Name" class="btn btn-info btn-sm" role="button">@T["Add Parts"]</a>
<a asp-route-action="AddReusablePartTo" asp-route-id="@Model.TypeDefinition.Name" class="btn btn-info btn-sm" role="button">@T["Add Named Part"]</a>
</div>

@if (Model.Editor.Shortcuts != null)
{
<div class="form-group">
@await DisplayAsync(Model.Editor.Shortcuts)
</div>
}

<div class="form-group">
<button class="btn btn-primary save" type="submit" name="submit.Save" value="Save">@T["Save"]</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@
<span class="hint">@T["Technical name of the part."]</span>
</div>

@if (Model.Editor.Shortcuts != null)
{
<div class="form-group">
@await DisplayAsync(Model.Editor.Shortcuts)
</div>
}

@await DisplayAsync(Model.Editor)

<div class="form-group">
Expand Down Expand Up @@ -49,13 +56,6 @@
<div class="form-group">
<a asp-route-action="AddFieldTo" asp-route-id="@Model.PartDefinition.Name" asp-route-returnUrl="@FullRequestPath" class="btn btn-info btn-sm" role="button">@T["Add Field"]</a>
</div>

@if (Model.Editor.Shortcuts != null)
{
<div class="form-group">
@await DisplayAsync(Model.Editor.Shortcuts)
</div>
}

<div class="form-group">
<button class="btn btn-primary save" type="submit" name="submit.Save" value="Save">@T["Save"]</button>
Expand Down
Loading