File tree Expand file tree Collapse file tree
src/Presentation/SmartStore.Web
Administration/Views/Plugin Expand file tree Collapse file tree Original file line number Diff line number Diff line change 100100 }
101101 @if (plugin .LicenseUrl .HasValue ())
102102 {
103- <a class =" btn btn-small plugin-licence" href = " javascript:void(0) " data-url =" @plugin.LicenseUrl" >
103+ <button class =" btn btn-small plugin-licence" type = " button " data-url =" @plugin.LicenseUrl" >
104104 <i class =" fa fa-key" ></i >
105105 @T( " Admin.Common.License" )
106- </a >
106+ </button >
107107 }
108108 </div >
109109 </div >
432432 });
433433
434434 // licence plugin
435- $ (document ).on (' click' , ' a .plugin-licence' , function (e ) {
435+ $ (document ).on (' click' , ' button .plugin-licence' , function (e ) {
436436 var dialog = $ (' #plugin-licence-modal' ),
437437 url = $ (this ).attr (' data-url' );
438438
Original file line number Diff line number Diff line change 88 Html .AddTitleParts (T (" Admin.Plugins.AddOnLicensing" ).Text );
99 }
1010}
11- <div class =" page" >
12- <div class =" page-title" >
13- <h2 >@T( "Admin.Plugins.AddOnLicensing")</h2 >
14- </div >
15-
16- <div class =" clear" ></div >
17-
18- <div class =" page-body" >
19- <div class =" alert alert-error fade in" >
20- <p >
21- <strong >Systemname:</strong > @Model ["SystemName"]
22- <br />
23- <strong >Controller:</strong > @Model ["ControllerName"],
24- <strong >Action:</strong > @Model ["ActionName"]
25- </p >
26- <p >
27- <span >@Html.Raw(Model ["Message"])</span >
28- </p >
11+ @if (Model [" Message" ] != null && ((string )Model [" Message" ]).HasValue ())
12+ {
13+ <div class =" page" >
14+ <div class =" page-body" >
15+ <div class =" alert alert-error fade in" >
16+ <h4 >@T( " Admin.Plugins.AddOnLicensing" )</h4 >
17+ <p >
18+ <strong >Systemname : </strong > @Model ["SystemName "]
19+ <br />
20+ <strong >Controller : </strong > @Model ["ControllerName "],
21+ <strong >Action : </strong > @Model ["ActionName "]
22+ </p >
23+ <p >
24+ <span >@Html.Raw(Model ["Message "])</span >
25+ </p >
26+ </div >
2927 </div >
3028 </div >
31- </ div >
29+ }
You can’t perform that action at this time.
0 commit comments