Skip to content

Commit a8267fe

Browse files
committed
Improve RePEc archive notice styling
1 parent cc3b3ba commit a8267fe

5 files changed

Lines changed: 33 additions & 9 deletions

File tree

locale/en_US/locale.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ msgid "plugins.generic.repec.settings.requiredData"
3636
msgstr "Data required to configure the RePEc plugin"
3737

3838
msgid "plugins.generic.repec.settings.repecScopeNotice"
39-
msgstr "RePEc is intended for Economics literature and related sciences. Before publishing any RePEc files, follow the official RePEc step-by-step instructions:"
39+
msgstr "RePEc is intended for Economics literature and related sciences. Before publishing any RePEc files, follow the"
40+
41+
msgid "plugins.generic.repec.settings.repecScopeNoticeLink"
42+
msgstr "official RePEc step-by-step instructions"
4043

4144
msgid "plugins.generic.repec.settings.archiveCode"
4245
msgstr "Archive code officially assigned by RePEc"

locale/es_ES/locale.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ msgid "plugins.generic.repec.settings.requiredData"
3636
msgstr "Datos necesarios para configurar el plugin RePEc"
3737

3838
msgid "plugins.generic.repec.settings.repecScopeNotice"
39-
msgstr "RePEc está destinado a la literatura de Economía y ciencias relacionadas. Antes de publicar cualquier archivo RePEc, siga las instrucciones oficiales paso a paso de RePEc:"
39+
msgstr "RePEc está destinado a la literatura de Economía y ciencias relacionadas. Antes de publicar cualquier archivo RePEc, siga las"
40+
41+
msgid "plugins.generic.repec.settings.repecScopeNoticeLink"
42+
msgstr "instrucciones oficiales paso a paso de RePEc"
4043

4144
msgid "plugins.generic.repec.settings.archiveCode"
4245
msgstr "Código de archivo asignado oficialmente por RePEc"

locale/pt_BR/locale.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ msgid "plugins.generic.repec.settings.requiredData"
3636
msgstr "Dados necessários para configuração do plugin RePEc"
3737

3838
msgid "plugins.generic.repec.settings.repecScopeNotice"
39-
msgstr "O RePEc é voltado à literatura de Economia e ciências relacionadas. Antes de publicar qualquer arquivo RePEc, siga as instruções oficiais passo a passo do RePEc:"
39+
msgstr "O RePEc é voltado à literatura de Economia e ciências relacionadas. Antes de publicar qualquer arquivo RePEc, siga as"
40+
41+
msgid "plugins.generic.repec.settings.repecScopeNoticeLink"
42+
msgstr "instruções oficiais passo a passo do RePEc"
4043

4144
msgid "plugins.generic.repec.settings.archiveCode"
4245
msgstr "Código de arquivo atribuído oficialmente pelo RePEc"

templates/settingsForm.tpl

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,19 @@
8585
margin: -0.5rem 0 1.1rem;
8686
}
8787
88+
#repecSettings .repecScopeNotice {
89+
background: #f8f8f8;
90+
border-left: 4px solid #006798;
91+
color: #444;
92+
line-height: 1.5;
93+
margin: 0.5rem 0 1.25rem;
94+
padding: 0.6rem 0.75rem;
95+
}
96+
97+
#repecSettings .repecScopeNotice p {
98+
margin: 0;
99+
}
100+
88101
#repecSettings legend,
89102
#repecSettings .section h3,
90103
#repecSettings .section_title {
@@ -153,10 +166,12 @@
153166
{/if}
154167

155168
{fbvFormArea id="repecSettings"}
156-
<p class="repecSettingsSupportEmailNotice">
157-
{translate key="plugins.generic.repec.settings.repecScopeNotice"}
158-
<a href="https://ideas.repec.org/stepbystep.html" target="_blank" rel="noopener">https://ideas.repec.org/stepbystep.html</a>
159-
</p>
169+
<div class="repecScopeNotice">
170+
<p>
171+
{translate key="plugins.generic.repec.settings.repecScopeNotice"}
172+
<a href="https://ideas.repec.org/stepbystep.html" target="_blank" rel="noopener">{translate key="plugins.generic.repec.settings.repecScopeNoticeLink"}</a>.
173+
</p>
174+
</div>
160175

161176
{if $isManagedByGlobalArchive}
162177
<p>{translate key="plugins.generic.repec.settings.managedByGlobalArchive" archiveCode=$globalArchiveCode}</p>

version.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<version>
44
<application>repec</application>
55
<type>plugins.generic</type>
6-
<release>1.3.0.0</release>
7-
<date>2026-05-13</date>
6+
<release>1.4.0.0</release>
7+
<date>2026-05-19</date>
88
<lazy-load>0</lazy-load>
99
<class>RepecPlugin</class>
1010
</version>

0 commit comments

Comments
 (0)