X-Git-Url: http://git.osdn.net/view?p=pettanr%2Fpettanr.git;a=blobdiff_plain;f=app%2Fviews%2Fsystem%2Fstart.html.erb;h=89927c18098a89cae7f8f5cbfd696989752c641b;hp=2e6f5f66fe4372c38dbcc03842317b1b655f6d16;hb=4df182696caa0089aa617386671473b555008aea;hpb=7f1881a81f526ece69401f1147c7a56f700646f8 diff --git a/app/views/system/start.html.erb b/app/views/system/start.html.erb index 2e6f5f66..89927c18 100644 --- a/app/views/system/start.html.erb +++ b/app/views/system/start.html.erb @@ -1,6 +1,16 @@ -

このシステムには管理者が設定されていません。

-

次のコマンドで管理者アカウントを作成してください。

+<% if Admin.count.to_i == 0 %> +

このシステムには管理者が設定されていません。

+

次のコマンドで管理者アカウントを作成してください。

-
-rails r "Admin.start('admin@mail.adr.ess', 'admin_password')" -
+
+ rails r "Admin.start('admin@mail.adr.ess', 'admin_password')" +
+<% end %> +<% if License.count.to_i == 0 %> +

このシステムにはライセンスが設定されていません。

+

次のコマンドでライセンスを作成してください。

+ +
+ rails r "CommonLicense.import_file('filename.json')" +
+<% end %>