MishkaCmsMigrationWeb.Live.Admin.Dashboard.PasswordNotice (Mishka CMS Migration v0.0.1)

Copy Markdown View Source

The warning for the users an import created (MishkaCmsMigration.Targets.BlogBlogger): a source's password hashes cannot be carried over, so such a user signs in with Forgot password or a social sign-in. Both parts draw it as the admin's own warning (Gervaz's :warning alert, MishkaGervaz.UIAdapters.Tailwind.alert/1), as MishkaCmsMigrationWeb.Live.Admin.Dashboard.LanguageNotice does:

created/2 counts the users of the run's source an import created, with one query.

Summary

Functions

How many users the import of run created, read as user under the run's site.

The warning for the item of a user an import created, or nothing for any other item.

The warning for a run that created count users, or nothing for none.

Functions

created(run, user)

How many users the import of run created, read as user under the run's site.

item(assigns)

The warning for the item of a user an import created, or nothing for any other item.

Attributes

run(assigns)

The warning for a run that created count users, or nothing for none.

Attributes

  • count (:integer) (required) - how many users the run created.
  • class (:string) - extra classes of the warning's box. Defaults to nil.