Skip to content

Commit 8b4b194

Browse files
committed
Display a title for the RFC link instead of raw URL
1 parent e1902c3 commit 8b4b194

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

language/en/common.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
'RETURN_IDEAS' => '%sReturn to Ideas%s',
7070
'RFC' => 'RFC',
7171
'RFC_ERROR' => 'RFC must be a topic on Area51.',
72+
'RFC_LINK_TEXT' => 'View RFC discussion on Area51',
7273

7374
'SEARCH_IDEAS' => 'Search ideas...',
7475
'SCORE' => 'Score',

styles/prosilver/template/idea_body.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ <h3>{{ lang('STATUS') }}</h3>
6868
{% if IDEA_RFC %}
6969
<div class="status-item">
7070
{{ lang('RFC') ~ lang('COLON') }}
71-
<a id="rfclink" href="{{ IDEA_RFC }}" style="{% if not IDEA_RFC %}display:none;{% endif %}overflow:hidden;text-overflow:ellipsis;white-space:nowrap;{% if S_CAN_EDIT %}max-width:75%;{% endif %}">{{ IDEA_RFC }}</a>
71+
<a id="rfclink" href="{{ IDEA_RFC }}" style="{% if not IDEA_RFC %}display:none;{% endif %}overflow:hidden;text-overflow:ellipsis;white-space:nowrap;{% if S_CAN_EDIT %}max-width:75%;{% endif %}">{{ lang('RFC_LINK_TEXT') }}</a>
7272
{% if S_CAN_EDIT %}
7373
<a href="{{ U_EDIT_RFC }}" id="rfcedit" data-l-add="{{ lang('ADD') }}" data-l-edit="{{ lang('EDIT') }}">{% if IDEA_RFC %}<i class="icon fa-fw fa-pencil"></i>{{ lang('EDIT') }}{% else %}<i class="icon fa-fw fa-plus-circle"></i>{{ lang('ADD') }}{% endif %}</a>
7474
<input type="text" id="rfceditinput" class="ideainput" value="{{ IDEA_RFC }}" data-l-err="{{ lang('ERROR') }}" data-l-msg="{{ lang('RFC_ERROR') }}" />

0 commit comments

Comments
 (0)