Skip to content
Snippets Groups Projects
Commit c6f77306 authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

rename displayname -> display_name

parent ed065f76
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ foreach my $id (split(/, */, $configuration->{groups}->{list})) {
db => $db,
type => $entry->{type},
entityid => $entry->{entityid},
displayname => $entry->{display_name},
display_name => $entry->{display_name},
information_url => $entry->{information_url},
organization_url => $entry->{organization_url},
);
......
......@@ -15,7 +15,7 @@ CREATE TABLE entities (
entityid varchar(200) NOT NULL,
information_url varchar(200) DEFAULT NULL,
organization_url varchar(200) DEFAULT NULL,
displayname varchar(500) DEFAULT NULL,
display_name varchar(500) DEFAULT NULL,
contacts varchar(2000) DEFAULT NULL,
federations varchar(50) DEFAULT NULL,
PRIMARY KEY (id),
......
......@@ -15,7 +15,7 @@ __PACKAGE__->meta->setup(
id => { type => 'bigserial', not_null => 1 },
entityid => { type => 'varchar', length => 200, not_null => 1 },
type => { type => 'varchar', length => 3 },
displayname => { type => 'varchar', length => 500 },
display_name => { type => 'varchar', length => 500 },
information_url => { type => 'varchar', length => 200 },
organization_url => { type => 'varchar', length => 200 },
contacts => { type => 'array' },
......@@ -37,7 +37,7 @@ sub print {
"Entity ID=%s; entityid=%s; displayname=%s; contacts=%s\n",
$self->id(),
$self->entityid(),
$self->displayname() || '',
$self->display_name() || '',
join(',', $self->contacts());
}
......
......@@ -10,7 +10,7 @@
<div class="content clearfix">
<h2>[% lh.maketext("Select your email address") %]</h2>
<p>[% lh.maketext("Before you can create test accounts at this Identity Provider, we need to ensure you are a legitimate administrator of '[_1]'.", sp.displayname) %]</p>
<p>[% lh.maketext("Before you can create test accounts at this Identity Provider, we need to ensure you are a legitimate administrator of '[_1]'.", sp.display_name()) %]</p>
[% IF sp.contacts.defined %]
<fieldset>
......
......@@ -10,7 +10,7 @@
<div class="content clearfix">
<h2>[% lh.maketext("Select your email address") %]</h2>
<p>[% lh.maketext("Before you can create test accounts at this Identity Provider, we need to ensure you are a legitimate administrator of '[_1]'.", sp.displayname) %]</p>
<p>[% lh.maketext("Before you can create test accounts at this Identity Provider, we need to ensure you are a legitimate administrator of '[_1]'.", sp.display_name()) %]</p>
[% IF sp.contacts.defined %]
<fieldset>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment