aboutsummaryrefslogtreecommitdiff
path: root/src/app.rs
diff options
context:
space:
mode:
authorlukeflo2025-07-04 14:41:47 +0200
committerlukeflo2025-07-04 14:41:47 +0200
commit5ebecf2ea9d0fb9c57b264d7cd1c6e92b36d30e8 (patch)
treefdccdd4ecded35feb3ca6bb441bb3d4581175f07 /src/app.rs
parent2594cf34dcf2f04f398dab7b6ecae364eb4c7d17 (diff)
downloadbibiman-5ebecf2ea9d0fb9c57b264d7cd1c6e92b36d30e8.tar.gz
bibiman-5ebecf2ea9d0fb9c57b264d7cd1c6e92b36d30e8.zip
`PopupItem::Citekey` impl
Diffstat (limited to 'src/app.rs')
-rw-r--r--src/app.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/app.rs b/src/app.rs
index d645dbe..d475328 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -314,7 +314,7 @@ impl App {
let mut items = vec![(
"Citekey: ".to_string(),
entry.citekey.clone(),
- PopupItem::Default,
+ PopupItem::Citekey,
)];
if entry.doi_url.is_some() {
items.push((
@@ -365,7 +365,7 @@ impl App {
{
if entry.doi_url.is_some() {
items.push((
- "Weblink (DOI/URL): ".into(),
+ format!("{} ", cfg.general.link_symbol.clone().trim()),
entry.doi_url.unwrap().clone(),
PopupItem::Link,
))
@@ -373,7 +373,7 @@ impl App {
if entry.filepath.is_some() {
entry.filepath.unwrap().iter().for_each(|p| {
items.push((
- "File (PDF/EPUB): ".into(),
+ format!("{} ", cfg.general.file_symbol.clone().trim()),
// p.clone().into_string().unwrap(),
if entry.file_field && cfg.general.file_prefix.is_some() {
cfg.general
@@ -394,7 +394,7 @@ impl App {
if entry.notes.is_some() {
entry.notes.unwrap().iter().for_each(|n| {
items.push((
- "Note: ".into(),
+ format!("{} ", cfg.general.note_symbol.clone().trim()),
n.clone().into_string().unwrap(),
PopupItem::Notefile,
));