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})) { ...@@ -105,7 +105,7 @@ foreach my $id (split(/, */, $configuration->{groups}->{list})) {
db => $db, db => $db,
type => $entry->{type}, type => $entry->{type},
entityid => $entry->{entityid}, entityid => $entry->{entityid},
displayname => $entry->{display_name}, display_name => $entry->{display_name},
information_url => $entry->{information_url}, information_url => $entry->{information_url},
organization_url => $entry->{organization_url}, organization_url => $entry->{organization_url},
); );
......
...@@ -15,7 +15,7 @@ CREATE TABLE entities ( ...@@ -15,7 +15,7 @@ CREATE TABLE entities (
entityid varchar(200) NOT NULL, entityid varchar(200) NOT NULL,
information_url varchar(200) DEFAULT NULL, information_url varchar(200) DEFAULT NULL,
organization_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, contacts varchar(2000) DEFAULT NULL,
federations varchar(50) DEFAULT NULL, federations varchar(50) DEFAULT NULL,
PRIMARY KEY (id), PRIMARY KEY (id),
......
...@@ -15,7 +15,7 @@ __PACKAGE__->meta->setup( ...@@ -15,7 +15,7 @@ __PACKAGE__->meta->setup(
id => { type => 'bigserial', not_null => 1 }, id => { type => 'bigserial', not_null => 1 },
entityid => { type => 'varchar', length => 200, not_null => 1 }, entityid => { type => 'varchar', length => 200, not_null => 1 },
type => { type => 'varchar', length => 3 }, type => { type => 'varchar', length => 3 },
displayname => { type => 'varchar', length => 500 }, display_name => { type => 'varchar', length => 500 },
information_url => { type => 'varchar', length => 200 }, information_url => { type => 'varchar', length => 200 },
organization_url => { type => 'varchar', length => 200 }, organization_url => { type => 'varchar', length => 200 },
contacts => { type => 'array' }, contacts => { type => 'array' },
...@@ -37,7 +37,7 @@ sub print { ...@@ -37,7 +37,7 @@ sub print {
"Entity ID=%s; entityid=%s; displayname=%s; contacts=%s\n", "Entity ID=%s; entityid=%s; displayname=%s; contacts=%s\n",
$self->id(), $self->id(),
$self->entityid(), $self->entityid(),
$self->displayname() || '', $self->display_name() || '',
join(',', $self->contacts()); join(',', $self->contacts());
} }
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<div class="content clearfix"> <div class="content clearfix">
<h2>[% lh.maketext("Select your email address") %]</h2> <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 %] [% IF sp.contacts.defined %]
<fieldset> <fieldset>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<div class="content clearfix"> <div class="content clearfix">
<h2>[% lh.maketext("Select your email address") %]</h2> <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 %] [% IF sp.contacts.defined %]
<fieldset> <fieldset>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment